PDA

View Full Version : Stop Button


montroze
01-04-2002, 08:55 PM
Anyone know a short script to make a Stop button like in IE, etc. to use in a homemade browser, example - the link is taking forever - click stop.

OrinocoFlow
01-05-2002, 06:05 AM
hi ;)

I don't think there is a .stop() command or similar, but if your home made browser is using frames (most likely it will have to to emulate the status bar, address bar etc.)

How about the stop button doing this:

(in pseudocode)
ContentFrame.location.href = somewhere else?


hope this inspires you

Jon Hanlon
01-06-2002, 08:10 PM
There was a window.stop() method back in NN4. Trouble was, you couldn't stop the current page loading, only a sub-window, or another frame, or an image. I Don't know if it made it into NS6 (don't care, either).

There's a document.execCommand("Stop") in IE, but according to Microsoft it's not currently implemented.