The difference between setTimeout and setInterval

setTimeout: Run once and then stop. setTimeout("AFunction()",1000); setInterval: Run by loop. setInterval("BFunction()",1000);

javascript window handleEvent[ ]

Instructs the window object to accept and process the event whose specifications are passed as the parameter to the method

javascript window stop( )

Halts the download of external data of any kind. This method is the same as clicking the browser's Stop button.

javascript window sizeToContent( )

Lets the browser determine the optimum window size to display the window's content. Suitable for subwindows that display a limited amount of informati

javascript window showModelessDialog( )

Displays a special window that remains atop all browser windows, yet allows the user to interact with other open windows and their content.

javascript window showModalDialog( )

Displays a special window that remains atop all browser windows until the user explicitly closes the dialog window.

javascript window showHelp( )

Displays a WinHelp window with the .hlp document specified with the URL parameter.

javascript window setTimeout( )

Starts a one-time timer that invokes the scriptExpression or functionReference after a delay of msecs. Other scripts can run while the browser waits t

javascript window setInterval( )

Starts a timer that continually invokes the expression every msecs. Other scripts can run in the time between calls to expression. This method is usef

javascript window setCursor( )

Changes the cursor to a desired type. This method is an alternate to the style sheet cursor attribute. Starting with Netscape 6.2, a cursor changed

javascript window scrollTo( )

Scrolls the document in the window to a specific scrolled pixel position. # Horizontal position in pixels of the window. # Vertical position in pixels

javascript window scrollByLines( ), scrollByPages( )

Scroll the document in the window downward (positive value) or upward (negative value) by the increment of lines or pages. The methods perform the s

javascript window scrollBy( )

Scrolls the document in the window by specified pixel amounts along both axes. To adjust along only one axis, set the other value to zero. Positive

javascript window scroll( )

Sets the scrolled position of the document inside the current window or frame. To return the document to its unscrolled position, set both parameter

javascript window routeEvent( )

Used inside an event handler function, this method directs Navigator 4 (only) to let the event pass to its intended target object.