Results 1 to 5 of 5

Thread: Rollover Image, drop down menu

  1. #1
    Join Date
    Feb 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post Rollover Image, drop down menu

    Does anyone know how to assign the rollover dropdown menu to a Rollover Image?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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:

    HTML Code:
    <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:

    HTML Code:
    <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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Feb 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    thanks jn, i'll give it a try

  4. #4
    Join Date
    Aug 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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...

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by thaartist
    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •