ajax - What's the most efficient / fast way to display website within another website? -
i developing portfolio website , thought nice show websites i've created within portfolio website.
so have header navigation of portfolio website , beneath or website portfolio list.
i mentioned , i've heard can such job, have no idea of how use them.
so please suggest way efficient, browser friendly, wouldn't take lot of server resources display different websites (and job).
additionally: way planning having links different websites http://webpage.com/portfolio.php?url=http://anotherwebpage.com when user clicks website shown in (or else) http://anotherwebpage.com . if possible suggest "ajax" method not require page refresh , show different webpage in (or else ;d ) instantly after user clicks on different links
thank )))
use javascript , iframe
<a href="http://yourpage.com" onclick="document.getelementbyid('iframe').src=this.href;return false">my page</a> <iframe id="iframe"></iframe>
Comments
Post a Comment