Loading page from IFrames

C

Chidambaram.S

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.
 
S

Sym

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 ...


rgds
Symeon.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top