Log in

View Full Version : Showing an external site inside mine...



NALVCPI
08-13-2008, 02:25 PM
I need a code that will make a .html / .htm file appear inside another one with scroll bars. Something like this without the select all. A horizontal scroll bar would also be nice.

http://img187.imageshack.us/img187/1636/picture1gz0.png
From one of the pages on the site



So if it can look something like the above that would be nice.
Thanks for all your help.

TheJoshMan
08-13-2008, 08:14 PM
What you're thinking of is called an "IFRAME", you could also use "AJAX", but an IFRAME would probably be your easiest option if you are new to code. Here is an example of how it would look, just paste the url of the site you want to display in place of the "http://www.yoursite.com/somepage.html"



<iframe src="http://www.yoursite.com/somepage.html" frameborder="0" scrolling="auto" height="500px" width="500px"></iframe>