View Full Version : Iframes


krystle
03-02-2003, 08:46 PM
Okay, i'm trying to use iframes with targeting, i was wondering how to absolute position them and then i looked at another persons post. Where in the code do you put the iframe name at?



<iframe src="url" width="***" height="***" border="0" frameborder="0" style="position:absolute; top:***; left:***;"></iframe>



thats the code, but where is the targeting name at? plz help =)

MaGiCSuN
03-02-2003, 08:51 PM
You have to add name="FRAMENAMEHERE" into the code, so like this:

<iframe src="url" name="FRAMENAME" width="***" height="***" border="0" frameborder="0" style="position:absolute; top:***; left:***;"></iframe>

then add links on your page and target them like this:

<a href="url.html" target="FRAMENAME">url</a>

they will open inside the iframe.

Please be sure that the FRAMENAME is the same in the iframe as in the link, and change it to whatever you like. It has to be spelled the SAME way.

Love,
Mirna