View Full Version : Text over buttons


Goldie Da Mac
07-18-2003, 12:30 AM
www.geocities.com/mkballerz (http://)

When placing my cursor over the buttons, the lil white box under the cursor says something like "a button". How can I change the name to that?

So when you place the cursor over home it says "Home"

All Help appreciated.

kittycat
07-18-2003, 12:35 AM
Find in the image code where it says alt="***" (the stars could be anything). Change the text in that part to what you want it to be.

Goldie Da Mac
07-18-2003, 12:45 AM
One thing im stick with now, I have created hoover buttons so where about do I place these in the code? Im not sure where to place them.

You said place them with the image, but would that effect the buttons appearance?

Script is below........

<script language="JavaScript">
<!-- // start hidden code
our1_image = new Image();
our1_image.src = "Images/Buttons/homeover.gif";
// done with hidden code -->
</script>

<a href="rightside.html" target="rightside"
onMouseOver="button1.src=our1_image.src;"
onMouseOut="button1.src='Images/Buttons/home.gif';">
<img name="button1" src="/home.gif" width="100"
height="25" alt="a button" border="0"></a>

kittycat
07-18-2003, 01:21 AM
You already have it in the code...
<img name="button1" src="/home.gif" width="100"
height="25" alt="a button" border="0">
So just change 'a button' to home or whatever else you want.