View Full Version : Does anyone know how to target an iframe?
Maverick
April 16th, 2001, 18:43
That just about covers my question :)
Canuckkev
April 16th, 2001, 21:05
Well, I don't know much about iframes, but probably just use target="IFRAMENAME" . You will ahve to designate the IFRAMENAME in the iframe, <iframe name="IFRAMENAME"...>
Once again, I have never used an iframe, so...
polestar
April 17th, 2001, 10:17
What Canuckkev said is correct.
iframes take the same attributes as normal frames.
eg,
<iframe name="tom" src="----.html" width="450" height="300" scrolling="yes" frameborder="yes" bordercolor="#0000ff" marginwidth="10" marginheight="15">
</iframe>
You don't need all those parameters - just name, src, width and height are essential
Obviously, you don't need any <frameset> tags in your page
To change the content of the frame with a link,
<a href="harry.html" target="tom">Click here to change</a>
polestar
April 17th, 2001, 10:20
Also, Netscape doesn't support IFRAMES so you might want an alternative option for the few visitors who use this browser.
Bruce
April 17th, 2001, 15:23
You mean people actually use Netscape? :confused:
Maverick
April 18th, 2001, 14:40
Thanks everyone, I'll give it a try. Another problem solved :)
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.