ShaneC
09-09-2008, 04:24 PM
Hey all,
Now chances are this is a JS related question but to be on the same side I figured I would post it in a more generic section.
I've designed a web page that basically has a header, and then an iframe containing an external site (very similar in fashion to a Google Image search, though I display information in the header).
Unfortunately though the site initially loads fine into the iframe, and I login fine to the iframe when I open up a menu option in the external site that page loads in the parent frame instead of the iframe, thus eliminating the header.
Any suggestions on how to prevent an iframe page from redirecting the parent frame would be much appreciated.
Thanks!
PS: In case you're worried about this being phising or advertising related. don't worry - it's for a school voting drive and I'm trying to display the list of candidates at the top.
Now chances are this is a JS related question but to be on the same side I figured I would post it in a more generic section.
I've designed a web page that basically has a header, and then an iframe containing an external site (very similar in fashion to a Google Image search, though I display information in the header).
Unfortunately though the site initially loads fine into the iframe, and I login fine to the iframe when I open up a menu option in the external site that page loads in the parent frame instead of the iframe, thus eliminating the header.
Any suggestions on how to prevent an iframe page from redirecting the parent frame would be much appreciated.
Thanks!
PS: In case you're worried about this being phising or advertising related. don't worry - it's for a school voting drive and I'm trying to display the list of candidates at the top.