Results 1 to 4 of 4

Thread: Trying to click links from a dropdown menu

  1. #1
    Join Date
    Sep 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Trying to click links from a dropdown menu

    Hello,

    I don't know if this is the place to ask this, but I'll give it a shot. I downloaded

    http://www.dynamicdrive.com/dynamici...rome/index.htm

    And it worked great, but I'm wondering if there's a way for when you click the menu items themselves that activate the dropdowns to launch pages. You can clearly see when you try to click on them in Dynamic Drive's example page, sites are not launched, only from the Home link. Please help.

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

    Default

    You can make each main menu item act like links by finidng the line:

    Code:
    disablemenuclick: true, //when user clicks on a menu item with a drop down menu, disable menu item's link?
    inside the .js file, and disabling it:

    Code:
    disablemenuclick: false, //when user clicks on a menu item with a drop down menu, disable menu item's link?

  3. #3
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    I don't think that is what he means. Take the demo for example. I think he want the link "Resources" to open a new page when clicked. To the OP. If that is what you want change
    Code:
    <li><a href="#" rel="dropmenu1">Resources</a></li>
    to
    Code:
    <li><a href="resources.html" rel="dropmenu1">Resources</a></li>

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

    Default

    Actually blm126, that's what my solution does. Specifying a URL inside the menu item alone won't do (ie: resources.htm)- you need to disable that variable I mentioned as well.

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
  •