Click to See Complete Forum and Search --> : Having a Link open up content in an area on the same page?


JohnWorfin
02-09-2005, 09:16 AM
Does anyone know how to go about having a link on a page open up content, say text, in a pre declared sized box on the same page?

Is this where the Object command comes into play? Im just not sure how to set up a link to command it to open specified content in a specified area on the same page.

If anyone could just point me in the right direction, I would appreciate it!

phpnovice
02-09-2005, 09:20 AM
The easiest way is to use a link targetted for an IFRAME in the same page.

<a href="newpage.htm" target="myiframe">New Page</a>

<iframe name="myiframe" src="oldpage.htm" style="width:200px;height:150px;"></iframe>

JohnWorfin
02-09-2005, 09:21 AM
great thx,

Been reading up a lot on the Iframe and the object tags

thx much!

phpnovice
02-09-2005, 09:23 AM
Cheers.