Results 1 to 3 of 3

Thread: Mouseover Tabs Menu - Author: Dynamic Drive

  1. #1
    Join Date
    Apr 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Mouseover Tabs Menu - Author: Dynamic Drive

    Hello,

    I have a few questions about the following script and wonder if it is possible to add/edit some things to get my desired results.

    First off here is the script:
    http://www.dynamicdrive.com/dynamici...seovertabs.htm

    My first question is simple, is there a way to make the second level menu disappear when the user rolls off the top of the first level menu.

    EI: one the page above if you hover over 'CSS Drive' and down to the 2nd level and then off the menu completely, the 2nd level menu disappears and the highlight of the 1st level changes back. Now doing the same thing but this time hover over 'CSS Drive' and then move up. The menu sticks. Is it possible to edit this so no matter what if the mouse is moving off the 1st level it hides the second.


    Okay my next question is more complicated because it requires the 1st level menu to be rollover buttons. So instead of 'CSS Drive' being a tab which is highlighted, I have an image which changes when rolled over. Is it possible to set up so whatever menu is loaded in the 2nd level will make the first level image flip to the rolled over one.

    I know this second part doesn't make sense but basically I want the same effect here but with images.

    Thanks!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The first part is definitely easier. Try the below modified .js file, which should do it. Once it's working for you, I can try and find time to see about the 2nd request.
    DD Admin

  3. #3
    Join Date
    Apr 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    ddadmin,

    thanks that worked perfectly. don't know why I couldn't do it myself.

    as for the second part, I used php and mouseover to dynamically figure out what rollover should be showing.

    again,

    Thanks!

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
  •