Preserved Topic: iframes (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 03-20-2000 18:16
I have an iframe inside a cell of a table. How can I use a link on the parent page to switch the iframe .html page?<P>------------------ |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 03-20-2000 20:49
In JavaScript, use<P>window.parent<P>In HTML, use<P>target="_parent"<P>(I think. I'm not sure about the HTML one.)<p>[This message has been edited by Slime (edited 20-03-2000).] |
Maniac (V) Inmate From: under the bed |
posted 03-21-2000 05:35
In HTML, set it up like this: |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 03-21-2000 18:24
Oops, I misunderstood your question. Listen to him, not me. |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 03-21-2000 18:42
Thank you both for your replies...<P>I'll try out your snippet of code<P>------------------ |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 03-21-2000 23:21
I tried iframe-name thing. It doesn't work???<P>------------------ |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 03-21-2000 23:50
Since that didn't seem to work answer me this:<P>Can an .html page preload (similar to preloading images?) another page when it loads up? <P>------------------ |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 03-22-2000 02:39
I'd just like to double check that you understood what he said, since it seemed a tad bit confusing to me - use<P>a href="coolpage.html" target="namehere"<P>When I read the "iframe-name" it looked to me like you had to include "iframe-" before the name, and I just wanted to make sure that you didn't make the same mistake.<P>Make sure also, in your IFRAME tag, to put name="namehere". |
Maniac (V) Inmate From: under the bed |
posted 03-22-2000 05:49
Yeah, what he said...iframe-name was just my example.<P>When you create your iframe, make sure you name it - (I can't use the html brackets because the forum will hide what's inside them) iframe name="blah-blah" src="blah.html" |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 03-22-2000 15:48
YEA!!!! That worked! You guys rule!<P>------------------ |
Maniac (V) Inmate From: under the bed |
posted 03-23-2000 09:20
glad to be of help : )<P>------------------ |
Bipolar (III) Inmate From: Alaska, USA |
posted 03-23-2000 21:42
That's what I had heard about netscape not supporting the iframe. |