Results 1 to 10 of 10

Thread: AnyLink JS Drop Down Menu-menu not staying visible

  1. #1
    Join Date
    Jun 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink JS Drop Down Menu-menu not staying visible

    1) Script Title: AnyLink JS Drop Down Menu v2.2

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    3) Describe problem: I am using the 3rd option in which the submenu shows up in columns (anylinkmenu3).
    The menu seems to be working completely fine, EXCEPT:
    Once you rollover the link that opens the submenu, and move the mouse to the box that contains the columns of submenu items, the nav link "unhighlights" and therefore the submenu box disappears. It's acting like those practical joke tests from long ago where you can never click anything because it disappears before you are able to.

    I have reverted back to all the original code, readded my submenu items and still no success.

    Does anybody have any idea what the problem maybe?
    Thanks!

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

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.
    DD Admin

  3. #3
    Join Date
    Apr 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I am having the same problem - so I will post my page also:

    http://www.weilercorp.com/solutions/index.htm

    Thank you in advance!

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

    Default

    Knecelis, in your case, the menus actually seem to be working for me ("About Us" and "Product Selection"). Non are multi column drop downs however.
    DD Admin

  5. #5
    Join Date
    Apr 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    They look like they work initially, but if I select one of the drop down items and then go back to the menu to select another item it doesn't stay dropped down.

  6. #6
    Join Date
    Apr 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Any idea why this is happening??

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

    Default

    Kencelis:
    As far as I can tell the problem has nothing to do with clicking through to another page, but simply, that on some of your pages, the menu is installed incorrectly. Take for example this problem page: http://www.weilercorp.com/solutions/dwheels.htm You've specified an anchor link to a drop down here:
    Code:
    <a href="http://www.weilercorp.com/solutions/literature.htm" class="menuanchorclass" rel="literature[mouseover]">Literature</a>
    However, inside menucontents.js, you haven't defined a "literature" variable that in turn defines the drop down menu in question.
    DD Admin

  8. #8
    Join Date
    Apr 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The "Literature" and "Home" links do not require a drop down - only the other 2 menu items. Maybe I'm misunderstanding what you are trying to explain to me..

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

    Default

    That's the issue though- the "Literature" link on your page is defined as if it should have a drop down menu, due to the use of the rel attribute inside it:

    Code:
    <a href="http://www.weilercorp.com/solutions/literature.htm" class="menuanchorclass" rel="literature[mouseover]">Literature</a>
    You need to remove this attribute from the "Literature" link on each relevant so the script no longer goes searching for the corresponding drop down menu for that anchor link, resulting in a JS error.
    DD Admin

  10. #10
    Join Date
    Apr 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Got it!! That worked like a charm. Thank you Thank you Thank you THANK YOU!!

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
  •