292 Part III . (Web server address) Document Objects Reference stop()
292 Part III . Document Objects Reference stop() Returns: Nothing. Compatibility NN2 NN3 NN4 . NN6 . IE3/J1 IE3/J2 IE4 IE5 IE5.5 The Navigator-specific stop()method offers a scripted equivalent of clicking the Stop button in the toolbar. Availability of this method allows you to create your own toolbar on your page and hide the toolbar (in the main window with signed scripts or in a subwindow). For example, if you have an image representing the Stop button in your page, you can surround it with a link whose action stops loading, as in the following:
A script cannot stop its own document from loading, but it can stop loading of another frame or window. Similarly, if the current document dynamically loads a new image or a multimedia MIME type file as a separate action, the stop() method can halt that process. Even though the stop() method is a window method, it is not tied to any specific window or frame: Stop means stop. Related Items: window.back(), window.find(), window.forward(), window.home(), window.print() methods. Event handlers onAfterPrint onBeforePrint NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . Each of these event handlers (not implemented in IE5/Mac) fires after the user has clicked the OK button in IE s Print dialog box. This goes for printing that is invoked manually (via menus and browser shortcut buttons) and the window.print() method. Although printing is usually WYSIWYG, it is conceivable that you may want the printed version of a document to display more or less of the document than is showing at that instant. For example, you may have a special copyright notice that you want printed at the end of a page whenever it goes to the printer. In that case, the element with that content can have its display style sheet property set to none when the page loads. Before the document is sent to the printer, a script needs to adjust that style property to display the element as a block item; after printing, have your script revert the setting to none. windowObject.onAfterPrint
If you are looking for cheap and quality webhost to host and run your website check Jboss Web Hosting services.