PDA

View Full Version : Stop iframe from full refresh/becoming topmost



Arch2021
01-21-2011, 10:56 PM
I am building a webpage to make my life easier at work. In the page i am simply loading 3 different web pages that i use 100% of the time between each other, and since they are little tools and i can fit them all nicely in one.

However, i'm having a problem doing it with the most important one.

I've included all 3 pages via iframes, but the third page doesn't work and becomes the topmost every time.

This is because this web page uses the Javascript code snipset below in their page:
----------------------------------------
if (top.location != self.location) {
top.location = self.location.href;
}
----------------------------------------

Please advise me if you have any solution for that.

Many thanks,

Arch,