PDA

View Full Version : Rollover image + flyout menu


AdeleK
05-11-2009, 06:58 AM
I have created a web page with roll over images used for the buttons, thereafter my client requested a flylout menu for a few of the buttons. I have created that no problem but have forfeited the roll over image. Seems like I can only have 1 onmouseover effect and not 2. Is there a way I can do the roll over image as well? This is the code I used on the button. Let me know if I must post the webpage or more code. Thanks in advance.

This is the code for the flyout menu on the button
</a><a href="../default.htm" onclick="return clickreturnvalue()" onmouseover="dropdownmenu(this, event, menu1, '150px')" onmouseout="delayhidemenu()" ><img src="images/adventure.jpg" alt="adventure" name="adventure" width="210" height="71" border="0" id="adventure" /></a>

This is the code on another button for the rollover image
<a href="accommodation.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('accommodation','','images/accommodation-over.jpg',1)"><img src="images/accommodation.jpg" alt="accommodation" name="accommodation" width="210" height="72" border="0" id="accommodation" />