View Full Version : I-frame q...


Saru-san
02-09-2003, 05:50 AM
ah, I had the code before, but its gone now. how do i get something thats not inside the iframe to open in the iframe?

Like, err... how to explain..., there's a button in the main frame thingy, then i click it, and i want it to open in the iframe, but it won't, how can i make it open in it? ^^ GO ME! THAT'S THE WAY TO EXPLAIN IT! Ok, but yea, that's pretty much all I need, and I don't know what page I would put the code on.

WOuld i put the code to send everything to the iframe on the main page, or on all the seperate pages? *soo confusing* Ok, err... thanks for any help.

Sheila
02-09-2003, 09:21 AM
<a href="Your Link" target="nameOfyourIframe">Link Name</a>

Look at your iframe code and see what the Name of your iframe is and put it where I have 'nameOfyourIframe'

Saru-san
02-09-2003, 09:31 PM
<a href="http://www.geocities.com/oujo_no_saru/character.html" target="iframe.html">Quiz</a>

hehe, i think that will work, but I want to make the link through a picture. Is there a different code for that?

(I'm gonna go try out the code above to see if it'll work.)
Bye!

EDIT:

Ah, actually, that code opened a new window... I want it to be in the iframe, not in a whole new window. (though that code is helpful for the other things i'm gonna be doing. ) So umm... yes. I still need the code, but for a picture. ^^ thanks.

Krysta
02-09-2003, 09:57 PM
take out the .html where your target is... its like this...

<a href="http://www.geocities.com/oujo_no_saru/character.html" target="iframe">Quiz</a>

that should work... you had iframe.html and you only need iframe if that is the name of your frame..

starlet
02-09-2003, 11:07 PM
and to make it a picture just use the image code instead of text link...

<a href="http://www.geocities.com/oujo_no_saru/character.html" target="iframe"><img src="image.gif" border="0"></a>

Saru-san
02-09-2003, 11:09 PM
THANK YOU!!