Results 1 to 3 of 3

Thread: Main nav won't work in ANYLINK DROP DOWN MENU

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

    Cool Main nav won't work in ANYLINK DROP DOWN MENU

    1) Script Title: AnyLink Drop Down Menu

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

    3) Describe problem: I've installed the script using graphic images for all the links(both the main nav and the secondary drop down nav), but I can't get the main nav links to work in IE. They show as links, and will forward if I right click and follow the link, but not under normal conditions. All of my drop down nav links work correctly.

    I've reviewed my code several times but apparently I'm missing something - which wouldn't be the first time.... Any tips?

  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 intended. Most folks like it that way. What happens is without javascript, there is no drop down and those 'main' links are normal links. With javascript, you get the drop downs, and depending on how you have set things up, shouldn't need the 'main' links as anything other than triggers for the drop downs.

    But if you want them to work as normal links, remove this:

    Code:
    onClick="return clickreturnvalue()"
    from them.
    - John
    ________________________

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

  3. #3
    Join Date
    Feb 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    Newby, you and I were in the same boat. Just what I was wondering myself.

    John, thanks for the answer! I've got a lot to learn about Javascript ...

    David

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
  •