|
| |
|
|
Acadia
Posts: 172 Joined: 9/28/2003 From: Canada Status: offline
|
More help with mouseover buttons - 11/12/2003 19:44:37
Is there some code that I can add to the string of code in order for the button name to appear when the gold button appears? http://loftydesigns.net/crystalfens1/induction.htm I currently have Alt="<button name here>" but that doesn't seem to work very well. It takes awhile to show up, and it doesn't show up for some people. The people who I am making the web for, don't want button names on the page, just when the button is hovered over with the mouse. Can someone tell me how to do that, and where to put it in my button code? Thanks :)
|
|
|
|
Non-Profit
Posts: 388 From: Virginia, USA Status: offline
|
RE: More help with mouseover buttons - 11/12/2003 20:04:18
Acadia, You need to put whatever text you want to appear onto the mouseover image. If you have image1.gif showing on mouseover and image2.gif showing on mouseout, then all you need to do is add text to the image1.gif so you will see it on the mouseover. HTH, Tony
|
|
|
|
Acadia
Posts: 172 Joined: 9/28/2003 From: Canada Status: offline
|
RE: More help with mouseover buttons - 11/12/2003 22:24:37
Am I understanding that you are telling me that I have to remake the second buttons again only this time put the name of the page on them? I spent more than 12 hours between the trying to get those 18 buttons done, and the coding done (I'm dyslexic and kept messing up the code). I was so frustrated by the end that I was near crying :( I can't go back and remake those buttons. I just can't :( Besides they don't want the buttons defaced with text, they want the name to 'pop up" when the mouse is overed over the button, but not to pop up until the gold (the second button) shows. Isn't there some code that can be added to the HTML that will show the page/button name, other than using "Alt"?
< Message edited by Acadia -- 11/12/2003 10:45:29 PM >
|
|
|
|
garry
Posts: 858 From: Northern Territory Outback Australia Status: offline
|
RE: More help with mouseover buttons - 11/13/2003 7:43:03
Hi Acadia #1 rule......keep copies of your buttons in layers and in the PSP or photoshop format......so you can go back to them one day. With your gold buttons, you need to add text to the graphic & save in another folder as the exact same names as thegold originals. When all done, delete all those gold images out of your web folder. THen IMPORT, your new images (gold with text) & the same names. Your scripts should all work the same. (I'm sorry but that mouse was annoying........sounds like your clients)
_____________________________
Cheers from the Outback Have a look at my Northern Territory backyard at http://www.ourterritory.com "Keep them laughing as you go.......but remember that the last laugh is on you" THe bright side of life, Monty Python, Life of Brian.
|
|
|
|
Acadia
Posts: 172 Joined: 9/28/2003 From: Canada Status: offline
|
RE: More help with mouseover buttons - 11/13/2003 20:59:43
I'm sorry, but there is no way I'm going and remaking those buttons again. I spent more than 12 hours making those 18 buttons, having to redo them time and again for one reason or another (part of which is that my Paint Shop Pro for some reason decided to leave a white spot in the transparent background no matter what colour I used), and then fighting against my dyselxia to get the script right, and I am NOT remaking them again. I just can't. I'll delete the web before I'll go and put myself through all that again Besides, there is a problem with what you suggest. 1. The buttons have images inside them, and the images are all different and have multiple colours. This would require having to have different coloured text for each button, in order to have text even show.....if you could find a colour that would show at all on some of them. 2. The shape of the button is round. The area for the image in the centre is small, and the text would have to be small to fit in the center, and some button names like "The Royal Library" or "The Tavern and Story Teller" would just not fit within the center of the round button while leaving the edges of it (the shield edges), untouched. I sent my question through an HTML group in Yahoo, and this is the reply I got. Only I don't understand it. Can someone please explain to me what they mean? quote:
I think you did everything right except for a small detail: when defining function you wrote "document.onmousemove=iMouse" instead of "document.onmousemover=iMouse" I tried the page after changing that and the gold button name now appears. I don't see anything like that in my string of code. The code I have when I open up view source is or open the page in Front Page 2000, is: <p align="center"><a href="townlocation.htm" onmouseover="document.town_location.src='staples/button_location2.gif'" onmouseout="document.town_location.src='staples/button_location1.gif'"><img border="0" src="staples/button_location1.gif" Alt="Town Location" name="town_location" width="78" height="79"></a> Apparently what I asked is possible without having to remake buttons, and mess up the flow of colour, only I don't understand what was said to me because I don't see the string of code that they said I should change. Can someone please help me with that?
< Message edited by Acadia -- 11/13/2003 9:09:18 PM >
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|