Does anyone know how to assign the rollover dropdown menu to a Rollover Image?
Does anyone know how to assign the rollover dropdown menu to a Rollover Image?
It would depend upon the specific menu you are using. Many have, in their documentation, methods for achieving a rollover image effect for the menu items themselves as well as the drop down effect. If you have that type menu, read the documentation and follow the instructions given there. If your menu is not of that type, you usually can combine mouseovers of an element, if that is what activates the drop down, say you have something like this:
You often can combine like so:HTML Code:<a href="whatever.htm" onmouseover="dropdown(this, 'menu1');"><img src="menu1.gif" onmouseover="rollover(this, 'menu1_over.gif');"></a>
But, it depends upon the code involved for the functions 'dropdown()' and 'rollover()', if they are compatible.HTML Code:<a href="whatever.htm"><img src="menu1.gif" onmouseover="dropdown(this, 'menu1');rollover(this, 'menu1_over.gif');"></a>
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
thanks jn, i'll give it a try
I'm tryin to do this too... my problem is on the onMouseOut... I can only get the image to return to its original status when hovering off the drop down DIV. My menu images are RIGHT next to each other so when i hover onto one image and then to the next it stays on the onMouseOver for the image rollover.
Complicating...
I would have to see it to be sure but, if you have the mouse events associated with the image tags themselves, this shouldn't be a problem.Originally Posted by thaartist
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Bookmarks