Results 1 to 4 of 4

Thread: How to open HV sub menu link in new window

  1. #1
    Join Date
    Nov 2004
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to open HV sub menu link in new window

    Hello,

    I am using HV menu for my website and I am not sure how I can go around opening a couple of submenu links in a new window. These submenu links point to a different website and i don't want people to loose our website while checking these links.

    Any help would be appreciated.

    Thanks

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    <a href="page.htm" target="_blank">page</a>

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That won't work for HV. It does allow the javascript: convention though. I have a few examples of how that is done in HV but, that drive is down for maintenance at the moment. So, find the place in HV where you would normally put the link, where you would have:

    Code:
    "http://www.dynamicdrive.com/"
    for instance. Make it like so:

    Code:
    "javascript:window.open('http://www.dynamicdrive.com/')"
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Ah, ok. Figured it would use html, but that makes sense.

    There ya go.

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
  •