View Full Version : Nothing Opens In My Iframe


CCSara3169
01-09-2003, 01:06 AM
<iframe src="http://www.geocities.com/luvstom247/updates.html?1041784239030l" height="320" width="420">


Thats the HTML I'm using, but all my pages open in a new window, I want them to open in my Iframe

lefty
01-09-2003, 01:08 AM
You have to give your iframe a name, then target your links into it.

<iframe src="whatever.html" name="iframe">

and your links would look something like this:
<a href="link.html" target="iframe">

rebecca
01-09-2003, 04:48 PM
I am having the same problem. My page loads properly.... minus the "inline" document. Here is my code:

<TD Width="61%" Valign="top"><iframe src="inline.html" name="inlineframe" width="100%" height="100%" frameborder="0"></iframe></TD>

Any idea how I can get inline.html to step up to the plate and show up?

Thanks!

CCSara3169
01-10-2003, 11:38 PM
Originally posted by lefty2217
You have to give your iframe a name, then target your links into it.

<iframe src="whatever.html" name="iframe">

and your links would look something like this:
<a href="link.html" target="iframe">

so what do you mean, i have to put numerous links in my HTML code?

lefty
01-10-2003, 11:41 PM
If you want....? I don't think I understand your question.

pb&j
01-11-2003, 05:12 AM
To agree with lefty...

Change this...
<iframe src="http://www.geocities.com/luvstom247/updates.html?1041784239030l" height="320" width="420">

To this...
<iframe src="http://www.geocities.com/luvstom247/updates.html?1041784239030l" height="320" width="420" name="MyIframe">

Then in your links, add the TARGET to get them to open into your IFRAME area.

<a href="somepage.html" target="MyIframe"> text or image here </a>

CCSara3169
01-11-2003, 02:26 PM
it didnt work.

<iframe src="http://www.geocities.com/luvstom247/updates.html?1041784239030l" height="320" width="420" name="MyIframe">
I changed my code to this

<a href="page1.html" target="MyIframe"> text or image here </a>and put this code on my page but, I don't quit get "text or image here" thing

CCSara3169
01-11-2003, 02:53 PM
oh snap! I get it now, hold on...

no sorry. it SITLL didnt work! Honestly..im jinxed

Here is what i changd that one code to

<a href="www.hometown.aol.com/icicle390/page1.html" target="MyIframe">articles</a>

lefty
01-11-2003, 03:59 PM
Mind posting a link to the page?

CCSara3169
01-12-2003, 02:59 AM
i got it to work. Thanks for all your help guys!