View Full Version : Iframes


IMALoser
04-29-2003, 12:18 PM
How do I make them come out? What I mean is when I click on a link, I want them to come out on the iframe. I don't want the iframe to automatically be there though. So, how do I do it??

And on a sidenote, how can I justify the text inside my table? I don't know what's wrong but I know I placed this tag before the text: <*justify> </*justify> (minus the *). It could be wrong but I know that's a valid tag. Help me plz?

Sheila
04-29-2003, 12:40 PM
I am guessing this is what you want...

This opens in a new window.... <a href="your link" target="_blank">Your Link Name</a>

This opens in a window that you already have open..... <a href="your link" target="_new">Your Link Name</a>

This opens fully in the same window..... <a href="your link" target="_top">Your Link Name</a>



-----

I think it is.....

<div align=justify>all your text here</div>

IMALoser
04-30-2003, 05:09 AM
Thanks with the justify.

But about the targetting, I tried that by putting the name of the iframe. Except, they came out on a new window instead of the iframe appearing on the same page.

starlet
04-30-2003, 02:22 PM
So how/where exactly do you want the links to open?

IMALoser
05-01-2003, 05:26 AM
Erm, on the same window but on an iframe.

chichy
05-02-2003, 11:39 AM
I am guessing the link is OUTSIDE the iFrame, and when you click on the link you want the page to appear on the inside of the iFrame? If so, here's the code:
<a href="page.html" target="iframe">
Change "page" to whatever page you want to appear in the iFrame, and change "iframe" to the name of your iFrame (check your iFrame code for the name if you don't know.)
The bold text is the name in this example iFrame:

<iframe name="iframe" SRC="page.html" scrolling="no" height="300" width="300" FRAMEBORDER="no"></iframe>

Of course you need to check your own coding and yes, you can use a different height x width ;)

IMALoser
05-02-2003, 11:55 AM
Ah, I see what you mean now. Thank you so much. This was a very big help.