Insert another web-page without using frames

liunx

Guest
I want to embed another webpage into a table that is on my web-site. I know that I can use frames & put the other webpage there, but that wouldn't follow the over all look & feel of the rest of the web site. I need to find away to imbed it if it can be done. Any thoughts???? Thanks<br />
<br />
<!-- w --><a class="postlink" href="http://www.unionwrestling.com">www.unionwrestling.com</a><!-- w --><!--content-->If your server supports SSI you can use that.<br />
Good Luck,<br />
Paul<!--content-->the files will look something like this for SSI...<br />
<br />
your base page with a layout of header and footer...<br />
<br />
save the following as something.shtml<br />
THE FILE MUST BE IN EITHER .shtml or .shtm<br />
<br />
<html><br />
<head><br />
<title></title><br />
</head><br />
<body><br />
this is my header<br><br />
<br><br />
<!--#include file="file.html"--><br />
<br><br />
<br><br />
this is my footer<br />
</body><br />
</html><br />
<br />
where "file.html" is, that would be the page you want to add without using frames! You can also do some switches with tables and location/div layers but it's pretty cut and dry.<br />
<br />
have fun with it!<br />
chris<pixelmonkey>:monkey:<!--content-->I can get this to work when I put a page on my server to embed. But it doesn't work when I put another web address in there. The page I want to insert is hosted somewhere else. Can this still be embedded, or am I stuckwith frames?? Thanks for all your help in advance<!--content-->this should work<br />
<br />
<!--#include file="http://www.site.com/file.html"--><!--content-->I have used both:<br />
<br />
<!--#include file="http://www.site.com/file.html"--><br />
<br />
&<br />
<br />
<!--#include virtual="http://www.site.com/file.html"--><br />
<br />
They both display this message:<br />
<br />
<br />
ERROR 404 NOT FOUND.<br />
<br />
I guess I need a path to the file, not an URL , but I think that isimpossible 'cause it is on another server/website. <br />
<br />
Any suggestions would be greatly appreciated!<!--content-->I have never found it necessary to give my files an 's' prefix to the suffix[if you see what I mean].<br />
<br />
i.e. htm not shtm etc<br />
<br />
I just include a parse to htm and html files in my .htaccess<!--content-->what if you tried<br />
<!--#require file="http://www.site.com/file.html"--><!--content-->you can also just make a layer, and position it anywhere. Layers can hold remote urls.<!--content-->You can also use iFrames, but unfortunately its NOT supported in Netscape.<!--content-->The fact that it's not supported by Netscape makes iframe completely pointless in my book!<!--content-->The fact that it's not supported by Netscape makes iframe completely pointless in my book!<br />
<br />
<br />
One could argue the same about layers. Given that IE has over 85% of the market, and even Netscape have dropped layers, layers would seem even more pointless. But I digress.<br />
<br />
<layer src=http://www.htmlforums.com/archive/index.php/"somefile.html"></layer><br />
<nolayer><iframe src=http://www.htmlforums.com/archive/index.php/"somefile.html"></iframe></nolayer><br />
<br />
<br />
Now for NN6, Netscape advise replacing LAYERS by absolutely positioned DIVs, however this won't work for the above code.<br />
<br />
By the way, if you're really stupid like me, you can crash your computer by setting "somefile.html" to be the URL of the page with this code in it. Just sit back and watch your resources disappear. :(<!--content-->Wrong again.<br />
It will work for Navigator 6, as NN6 supports the IFRAME tag.<br />
<br />
Netscape recommend the following at <!-- m --><a class="postlink" href="http://developer.netscape.com/evangelism/docs/articles/updating-dhtml-web-pages/TAGtests/matrixRunner.html">http://developer.netscape.com/evangelis ... unner.html</a><!-- m --><br />
<br />
<br />
<iframe id="iframe1" style=<br />
"position:absolute;left:100px;top:100px;width:100px;height:100px;"<br />
src=http://www.htmlforums.com/archive/index.php/"http://www.mozilla.org"><br />
<layer name="layer1" top="100" left="100" width="100" height=<br />
"100" clip="0,0,100,100" src=http://www.htmlforums.com/archive/index.php/"http://www.mozilla.org"><br />
</layer><br />
</iframe> This is an iframe , 100,100,100,100, with<br />
src=http://www.htmlforums.com/archive/index.php/"mozilla.org!!!" and a layer inside so it works with N4.x,<br />
IE and N6.<br />
<br />
<br />
So, Netscape have dropped the LAYER tag, and adopted the IFRAME tag.<!--content-->I think I'd rather have layers.<!--content-->
 
Back
Top