TOC PREV NEXT INDEX

Put your logo here!


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. 


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX