Results 1 to 2 of 2

Thread: AnyLink JS Drop Down Menu

  1. #1
    Join Date
    Apr 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink JS Drop Down Menu

    How do I get this to work so when a menu item is clicked it doesn't open in a new window. it opens in the same window.
    Also is it posible to have it so it just runs a function?

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

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

    Default

    If you look at the first drop down on the DD demo page, it does this by default, that is, open the links in the same window. Inside menucontents.js, simply make sure the last option inside each menu variable is set to "", for example:

    Code:
    var anylinkmenu1={divclass:'anylinkmenu', inlinestyle:'width:150px; background:#FDD271', linktarget:''}
    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
  •