STOP Other pages loading once main is loaded ?
Posted on 2004-10-23
What I wanted to do was the following... On some of my pages, they may be loaded within a frameset and at some point, I want one of those pages to detect when it has loaded and to then "STOP" loading anything else..
I have noticed that when you click the stop button in IE, it does this and prevents any other code in any other frame from loading (IE: If it was a timed event, it still doesn't load)...
Now I'm aware of such events as window.stop() and execCommand('Stop') but these don't provide the same result as clicking on the stop button in your browser...
So, How can I emulate this type of event ? The down side is, if you have any animated gif, it also kills this which I DONT want to happen ?