Log in

View Full Version : Rollover Image, drop down menu



fvelez
03-03-2006, 03:00 PM
Does anyone know how to assign the rollover dropdown menu to a Rollover Image?

jscheuer1
03-03-2006, 04:25 PM
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:


<a href="whatever.htm" onmouseover="dropdown(this, 'menu1');"><img src="menu1.gif" onmouseover="rollover(this, 'menu1_over.gif');"></a>

You often can combine like so:


<a href="whatever.htm"><img src="menu1.gif" onmouseover="dropdown(this, 'menu1');rollover(this, 'menu1_over.gif');"></a>

But, it depends upon the code involved for the functions 'dropdown()' and 'rollover()', if they are compatible.

fvelez
03-04-2006, 02:53 PM
thanks jn, i'll give it a try

thaartist
08-02-2006, 01:11 AM
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...

jscheuer1
08-02-2006, 08:09 PM
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.