Plus, AJAX can't be used to load remote websites. JavaScript calls that read or write information are limited to the same domain that makes the call for security reasons.
For an example of a professional project that uses an IFRAME, go here: http://images.google.com/ or here: http://tinymce.moxiecode.com/ or here: http://www.fckeditor.net/demo or countless other places. The very editor that you use every time you make a post right here on Webmaster-Talk is an IFRAME that communicates with a TEXTAREA.
I am pretty sure you can do that with shadowbox and it looks tons better than iframe.
But if you are just building a basic webpage then I would say go with iframe.
I am pretty sure you can do that with shadowbox and it looks tons better than iframe.
But if you are just building a basic webpage then I would say go with iframe.
Read the ORIGINAL QUESTION. The question is this:
Quote:
i want to make a webpage and in that webpage to put other pages(other websites)
The ONLY WAY to load other websites into a page without using a complex content scraper (which must be server side code), is to use a frame. Besides, your qualification that a shadowbox looks "tons better" than IFRAME is totally nonsensical, since an IFRAME or its container can be styled however you like. I've never used shadowbox, but I'm willing to bet it has a built in IFRAME option, which would be required if you are going to load an external site.