Snuka7
01-04-2011, 12:17 AM
Hey there,
I'm in the process of making a Navigation Bar that requires javascript to change the image when the mouse is placed over it; but yet at the same time have a tooltip appear bellow it that shows the name of the page that the image is transferring you to.
I have both the proper scripts in my <head> and they have both been tested and work perfectly, but I'm just not quite sure how I can make it so that both the tooltip and imagechange effect both play at the same time that a mouse is placed over one timage.
Here's my current code:
<div style="padding: 2px;"></div>
<a href="index.php"
onMouseover="fixedtooltip('Home', this, event, '150px')" onMouseout="delayhidetip()"
onmouseover="buttondown('homebutton')"
onmouseout="buttonup('homebutton')">
<img src="./images/navagation/homebutton.gif" name="homebutton" border="0" />
</a>
As you see, I have two onmouseover and two onmouseouts. How do I make it so that they both work for homebutton.gif?
Thanks.
I'm in the process of making a Navigation Bar that requires javascript to change the image when the mouse is placed over it; but yet at the same time have a tooltip appear bellow it that shows the name of the page that the image is transferring you to.
I have both the proper scripts in my <head> and they have both been tested and work perfectly, but I'm just not quite sure how I can make it so that both the tooltip and imagechange effect both play at the same time that a mouse is placed over one timage.
Here's my current code:
<div style="padding: 2px;"></div>
<a href="index.php"
onMouseover="fixedtooltip('Home', this, event, '150px')" onMouseout="delayhidetip()"
onmouseover="buttondown('homebutton')"
onmouseout="buttonup('homebutton')">
<img src="./images/navagation/homebutton.gif" name="homebutton" border="0" />
</a>
As you see, I have two onmouseover and two onmouseouts. How do I make it so that they both work for homebutton.gif?
Thanks.