Is it possible to target an I frame from a menu item in the HV menu?![]()
Is it possible to target an I frame from a menu item in the HV menu?![]()
Why not? Give the iframe a name and treat it like a frame, as far as targeting goes.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
i know the principal should work but in the menu item code where do I specify the target. Tried :
Menu4_3=new Array("SUBMIT AN ENTRY","form.asp target=iframename","",0,20,140);
and it does not work?
You can use one of two methods depending upon what you want to have happen.
Method one ex:With this method, when clicked, the link will display on the page that the menu is on in an iframe named main. It will not add to the history stack so, clicking the back button will take the user to whatever was the previous page on the stack before this link was clicked (same page it would have gone to if this link never was clicked).Code:Menu2_1_1=new Array("CNN","javascript:main.location.replace('http://www.cnn.com')","",0,20,150);
Method two ex:This will do the same thing as the above method except that it will add to the history stack. Hitting the back button after clicking this link will return the iframe called main to its previous contents.Code:Menu2_1_3=new Array("MSNBC","javascript:main.location.href='http://www.msnbc.com'","",0);
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Bookmarks