View Single Post
Old 05-23-2004, 10:42 AM  
Darren
VIG, Project Manager
 
Darren's Avatar
 
Join Date: Aug 2004
Location: US of A
Posts: 1,862

Default

If you want to open a webpage in a webpage you can use IFrames. The good thing about IFrames is that you can place them inside a table, which enables you to load an external page anywhere you want inside the webpage people are viewing.

This is how it is done:

<table width="500" border="0" cellpadding="0" cellspacing="0">
<td>
<iframe src="MyIFramePage.html" name="MyIFrame" width="100%" height="30" scrolling="no" frameborder="0" marginwidth="0" marginheight="0"></iframe>
<layer src="MyIFramePage.html" name="MyIFrame" width="100%" height="30"></layer>
</td>
</table>

In this example I have set scrolling to "no", but if you are loading a page that requires viewers to scroll, then set scroll value to yes (scrolling="yes").
I have made my IFrame 100% wide which means it will fit the table cell width. I have given it a fixed size of 30 px so I have the option of placing other objects beneath it (like an image, form object or text).

To read more about tables go here!
__________________
Project manager
Visualizer Image Group


"Don't judge yourself on how far you have come,
It's better to get somewhere than nowhere"
Darren is offline   Reply With Quote