Results 1 to 6 of 6

Thread: Target Iframe with HV menu 5.5

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

    Default Target Iframe with HV menu 5.5

    Hi all,

    First time poster...
    Is it possible to target iframes with the links found in the HV menu 5.5?

    Thank you in advance,
    David

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.

  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

    First you need an iframe on your page with the hvmenu. Next, the iframe needs a (unique) name, ex:

    Code:
    <iframe name="some_name" src="about:blank" width="300" height="300" scrolling="auto" frameborder="1"></iframe>
    Now, in the exmplmenu_var.js file, you can do this:

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

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

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

    Default

    Thank you John, that worked perfectly!

    Now, I have another issue with the same menu.. when I resize the window, the menu moves to a different location on the page. How do I make the menu's location static or grouped with the whole web page design?

    Thank you in advance,
    David

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

    On the page config.htm (a manual of sorts) that comes with the distribution archive find the info on:

    TargetLoc

    which is a little more than halfway down the config.htm page.
    - John
    ________________________

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

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

    Default

    Once again, 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
  •