A page inside another?

liunx

Guest
I'll go right to the point,<br />
<br />
I'd like to have a window inside a page where, by clicking on a link in that page, the other page would load... I know I ain't clear enough...<br />
<br />
If you don't understand what layout I'm talking about, just click on "reply" and watch the 'reply' page's layout, I'd like my first page to be like that (all around) and the second page to load inside the message box...<br />
<br />
Hope this is clear now! :p<br />
<br />
How can I do that?<!--content-->The reply box you mention is just a textarea form field. It does not contain another page. Maybe I don't understand what you mean.<br />
<br />
At first, I thought you were talking about an iframe.<!--content-->What I want is a kind of frame that "looks like" the reply box!!!<br />
<br />
I was just refering to the reply box for 'looks' ;) But maybe I didn't made myself clear, blame it on my english skills :p<br />
<br />
I mean, I'd like to have a frame in the middle of another page (inside a layout table to be precise)... how can I manage that?<!--content-->An iframe would fit that description. See <!-- m --><a class="postlink" href="http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/iframe.asp">http://msdn.microsoft.com/workshop/auth ... iframe.asp</a><!-- m --> for details.<!--content-->Erm, sorry, I really feel silly (and I surely am) but:<br />
<br />
I created the Iframe in my page, now how do I make it so links on my page change the content of the Iframe?<br />
<br />
I created a Iframe using the folowing HTML:<br />
<br />
<IFRAME ID=IFrame ALIGN="Center" WIDTH=560 HEIGHT=500 SRC=http://www.webdeveloper.com/forum/archive/index.php/"whatever.html"></IFRAME> <br />
<br />
Now, just abovethe Iframe, there is links, what do I do so that these links when clicked change the contents of the Iframe?...<br />
<br />
I tried to put TARGET=IFrame into the <A> tags of the links but when I click on the links it just opens a new window!!!<br />
<br />
I'm really sorry, I'm a newb at this, and I looked on the pages you gave me the link to, but I couldn't find that info!<!--content-->Give your iframe a name and then set the target to this name...<!--content-->Okay, I added NAME="frame" inside the <IFRAME> tag, then changed the <A> tag with this TARGET="frame" but I still get a new window when I click on the link!!! I don't understand!:confused:<br />
<br />
Forget what I just wrote!<br />
<br />
OKAY!!!<br />
<br />
I changed the name to _frame and the target to te same thing and it works now!<br />
<br />
THANX a lot everyone for being so patient!!!! <br />
<br />
It works woohoo! :D<!--content-->Works fine for me in IE6...<!--content-->See edit of above post...<br />
<br />
Might be because I'm using IE5 to check it :p (I want to make sure that "older" browsers will be able to see it well)<br />
<br />
THANX AGAIN! :D<!--content-->This worked for me:<IFRAME name="iframe" ALIGN="Center" WIDTH=560 HEIGHT=500 SRC=http://www.webdeveloper.com/forum/archive/index.php/"blank.htm"></IFRAME><br><br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.yahoo.com" target="iframe">Yahoo!</a><!--content-->Well, apparently NS and IE6 accept the <A name=...> tag written this way "iframe" but the older versions of IE only accept it this way _iframe!<br />
<br />
Why, I don't know for sure... but it seems that unless the name of the target starts with a underscore the older versions don't "understand" that it must be put in a frame and as a "default" create a new window! Maybe like when you put #whatever as HREF it understands that it's a link within that same page! Seems the older browsers need the underscore to recognize that the link should be opened inside a frame... :rolleyes:<br />
<br />
It works now anyway... ;) THANX again!<!--content-->
 
Back
Top