Results 1 to 5 of 5

Thread: HV Menu - Open link in new page

  1. #1
    Join Date
    May 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question HV Menu - Open link in new page

    1) Script Title: HV Menu V5.5

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

    3) Describe problem: Is there a way to make a link open in a new window in this script? I tried adding target="_blank" but it created an error. Any help would be appreciated.
    Last edited by jrbk; 08-08-2006 at 03:37 AM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,070
    Thanks
    44
    Thanked 3,216 Times in 3,178 Posts
    Blog Entries
    12

    Default

    Code:
    Menu2_1_1=new Array("CNN","javascript:window.open('http://www.cnn.com')","",0,20,150);
    - John
    ________________________

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

  3. #3
    Join Date
    May 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Awesome, Thank you. I knew that it could be done with Java but wasn't sure of the code and didn't want POP-UP blockers to keep the new page from loading. Works Great!

    Thanks

  4. #4
    Join Date
    Apr 2006
    Posts
    429
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    just my 2 cents (sense?) Java and JavaScript are two different things. (pointedly looking at OP)
    Please don't mind me. I am just posting a lot of nonsense.

  5. #5
    Join Date
    May 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    jr_yeo - Thank you for the enlightenment. I don't know much about java or java script. I know enough to be dangerous...

    Thanks for the help

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
  •