PDA

View Full Version : A question about iFrames



-JT-
06-12-2004, 01:42 AM
When using an image as a link, when your using iFrames how do you set the target. Baring in mind these are rollover images

tularis
06-12-2004, 11:25 AM
In the iframe code add:

name="content"

Ex. <iframe src="blah.php" width="100% height="100%" name="content"></iframe>

In the link add:

target="content"

Ex. <a href="news.php" target="content"><img src="blah.gif"></a>

-JT-
06-12-2004, 06:45 PM
cheerse, i figured it out though lol

Want to hide these adverts? Register an account for free!