Results 1 to 5 of 5

Thread: Question about HV menu

  1. #1
    Join Date
    Jul 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Question about HV menu

    Hello everyone...

    I have a question about hvmenu... i downloaded it form this website, but i have no idea about how to do it if i want the pages from the links appear in a blank one (target="blank").

    Iīm sorry but i donīt have knowledge about this; despite that, everything i wanted to do was ok...

    Thanks everybody

    Nicotb

  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

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

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

  3. #3
    Join Date
    Jul 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Cool... i am very grateful because it worked great ...thanks John

    But i have another question...

    What should i do if i want that a new page appears from the link, but this time resized (kind of a pop up)??? all of this, obviously, talking about HV menu...

    Nicolas

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

    The window.open() method that we just used is also the one that is used for that. You just need to add some specifications. There are so many available that if you want to fine tune it, you should Google the javascript window.open method. However, a basic pop up just needs width and height specifications. I'll throw in top and left just for good measure (starting from what we already had, additions red):

    Code:
    Menu2_1_1=new Array("CNN","javascript:window.open('http://www.cnn.com','_blank','width=450,height=400,top=100,left=150')","",0,20,150);
    - John
    ________________________

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

  5. #5
    Join Date
    Jul 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you so much!!
    I did everything i needed to do thanks to you...

    Best regards

    Nicolas

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
  •