Results 1 to 3 of 3

Thread: Link Targets in AnyLink JS v2.2

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

    Default Link Targets in AnyLink JS v2.2

    1) Script Title: AnyLink JS Drop Down Menu v2.2


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

    3) Describe problem: In the menucontents.js file one can set the "target" for ALL the submenu items of a particular menu to either open in a new window or the same window. All items in that menu take on that setting. I want to diversify the menu so that some items in the submenu open in the same window while others open in a new window... HOW?

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    There is another version of the anylink drop down menu where the menu content is in the html and not in the javascript. Here is a link to that menu
    You can specify the link target individually, like this:

    <li><a href="http://www.dynamicdrive.com/" target="_blank">Dynamic Drive</a></li>

    This will open in a new window. If you don't specify the target it opens in the same window.

  3. #3
    Join Date
    Jan 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you... Your HTML version suggestion works as I needed! PH

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
  •