Results 1 to 4 of 4

Thread: Anylink Dropdown Menu

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

    Default Anylink Dropdown Menu

    1) Script Title:
    Anylink Dropdown Menu

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

    3) Describe problem:
    How can I adapt this menu so that the menu options themselves are links. Eg in the demo on the above URL Web Design | Technology | News Sites would be clickable links as well as the options in the dropdown?

    Many thanks
    Paul

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Here:
    Code:
    <a href="default2.htm" onClick="return dropdownmenu(this, event, menu2, '200px')" onMouseout="delayhidemenu()">Click-able</a>
    Jeremy | jfein.net

  3. The Following User Says Thank You to Nile For This Useful Post:

    Paul Brown (11-08-2008)

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

    Default

    Hi,

    Thanks for that but I don't think I explained myself properly. What I want is for the Web Design | Technology | News Sites menu headings to be external links, that still have menu options when you hover over them. Adding href="http://www.google.co.uk" to the code doesn't work.

    Thanks again.

    Paul

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

    Default

    Please do a search- this question has come up a few times now. Simply remove the onClick event from within the anchor links:

    Code:
    <a href="default.htm" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '150px')" onMouseout="delayhidemenu()">Web Design</a>
    DD Admin

  6. The Following User Says Thank You to ddadmin For This Useful Post:

    Paul Brown (11-08-2008)

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
  •