PDA

View Full Version : Target Iframe with HV menu 5.5


dmg
07-14-2007, 11:16 PM
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

ddadmin
07-14-2007, 11:52 PM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

jscheuer1
07-15-2007, 04:50 AM
First you need an iframe on your page with the hvmenu. Next, the iframe needs a (unique) name, ex:

<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:

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

dmg
07-19-2007, 08:14 PM
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

jscheuer1
07-19-2007, 08:56 PM
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.

Nabeel
07-20-2007, 12:36 PM
Hi, This post is very informative, however I would like some specific information. If someone can help me then please send me a private message. Best Regards,

Pakistan Property (http://www.zameen.com) | Wholesale Suppliers (http://www.dailytrader.com)
Wholesale Canadian Directory (http://www.wholesale-canada.com) | All UK Wholesalers (http://www.uk-wholesaler.co.uk)

dmg
07-20-2007, 11:04 PM
Once again, thank you!!