Results 1 to 3 of 3

Thread: hv menu - how to open in new window?

  1. #1
    Join Date
    Feb 2005
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default hv menu - how to open in new window?

    hi

    please please help:

    in HV menu, how can i open the link in a new window?

    if i have the line:

    Menu1_1=new Array("about","about.htm","",0,20,60);

    where do i add "target=_blank"

    thanks

    lenny

  2. #2
    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

    Assuming that what you have here is correct for just a simple link:

    Code:
    Menu1_1=new Array("about","about.htm","",0,20,60);
    Then this will work:

    Code:
    Menu1_1=new Array("about","javascript:window.open('about.htm','_blank')","",0,20,60);
    - John
    ________________________

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

  3. #3
    Join Date
    Feb 2005
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default god bless you ...

    you saved my life

    thank you

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
  •