TOC PREV NEXT INDEX

domref



window.setCursor()


Changes the cursor for the current window.

Syntax

syntax code
 

Parameters

blah is a blah.

Example

function SetBusyCursor(window, enable)
 
{
 
  if(enable)
 
    window.setCursor("wait");
 
  else
 
    window.setCursor("auto");
 

 
  var numFrames = window.frames.length;
 
  for(var i = 0; i < numFrames; i++)
 
  SetBusyCursor(window.frames[i], enable);
 
}
 

 

Notes

The cursor is locked until it's set back to auto.

Specification

DOM Level 0. Not part of specification.
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX