Results 1 to 3 of 3

Thread: AnyLink Drop Down Menu - main links not working

  1. #1
    Join Date
    Nov 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink Drop Down Menu - main links not working

    1) AnyLink Drop Down Menu

    2) http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    3) How do you make the main links clickable? I set up a simple page here: test page and made the first link "Web Design" an href to "http://www.google.com" but when you click on the link it doesn't do anything. The drop down links work fine.

    What am I missing?

    Keep in mind that I'm new to CSS and JavaScript - so speak slow and use small words...

    Thanks!

  2. #2
    Join Date
    Nov 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok... after fiddling with this for a bit here's what I did to fix it... problem is I don't know if I screwed something else up.

    I changed this:
    <a href="http://www.google.com" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '150px')" onMouseout="delayhidemenu()">Web Design</a>

    to this:
    <a href="default.htm" onMouseover="dropdownmenu(this, event, menu1, '150px')" onMouseout="delayhidemenu()">Web Design</a>

    Just removing the 'onClick' reference. Seems to be working OK though.

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

    Default

    Yep, that's how you'd do it- remove the onClick event handler. No problems there.
    DD Admin

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
  •