cyrrhose
11-18-2003, 03:55 AM
Hello!
Is it possible to simulate the browser's stop button in js?
Thanx.
Is it possible to simulate the browser's stop button in js?
Thanx.
|
Click to See Complete Forum and Search --> : simulate the browser's stop button? cyrrhose 11-18-2003, 03:55 AM Hello! Is it possible to simulate the browser's stop button in js? Thanx. fredmv 11-18-2003, 04:17 AM You can, but I don't believe it is cross-browser. The syntax looks like this: window.stop(); However, I'm guessing you don't actually need to do this. What exactly are you trying to do anyway that would require such code? cyrrhose 11-18-2003, 04:27 AM I'm in fact making a jsp/js program that gives in one frame a list links to documents containing searched word; when you click on the link, an other frame loads the text and makes a highlight, and other things. In some cases, the progress bar keeps loading very slowly even if all the text is loaded. The easiest way for me is then to invoke the window.stop() function on onload, but I tried that gives an unknown method error in IE 6.0. fredmv 11-18-2003, 04:29 AM Originally posted by cyrrhose method error in IE 6.0. That's why I said I didn't think it was cross-browser. I belive it only works under Mozilla/Netscape. I would imagine there are other ways to accomplish what you're trying to do without this method. cyrrhose 11-18-2003, 04:35 AM There is surely an other way, but it's been I long time I'm trying to understand why in rare cases the browser keeps loading, so I was just trying this new way. Could this maybe be possible using VBScripts? webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |