Results 1 to 2 of 2

Thread: AnyLink Drop Down Menu Problems

  1. #1
    Join Date
    May 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink Drop Down Menu Problems

    1) Script Title: AnyLink Drop Down Menu

    2) Script URL (on DD): http://dynamicdrive.com/dynamicindex1/dropmenuindex.htm

    3) Describe problem: The script works fine for the links that expands under it. However the link itself doesn't work. I realize that the same thing happens with demo, where there are 3 links as such:

    Web Design | Technology | News Sites (onclick)
    When you click on "Web Design", it shows it links to "http://dynamicdrive.com/dynamicindex1/default.htm" but when you click on it , nothing happens.

    Is this a bug or is it supposed to work like that?

    Any help would be appreciated. Thanks!

  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

    That is how it is supposed to work. To get a onmouseover 'header' link to work, just get rid of this:

    Code:
    onClick="return clickreturnvalue()
    To get an onclick 'header' link to work (which in most cases would be pointless), change this:

    Code:
    onClick="return dropdownmenu(this, event, menu2, '200px')"
    to:

    Code:
    onclick="dropdownmenu(this, event, menu2, '200px');return true;"
    - 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
  •