Loading page from IFrames

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi am a newbie to iFrames. Is it possible to load entire page from
iFrames. Say on an error condition in my iFrames i would like to load
back the entire html page or redirect it to some other page. How would
i do that.

Re: Loading page from IFrames

Yes using script, tho you may get problems if the iframe is not in the
same domain as the main page.

One way is to use  window.open("http://www.google.com","_top") in the
iframe. This will open google in the main window.

There are other ways if that is not right for you ...


Chidambaram.S@gmail.com wrote:
Quoted text here. Click to load it

Site Timeline