Javascript Reference
Categories: window

javascript window setCursor( )

@March 15, 2008, 1:22 a.m.
setCursor( )NN |6| IE n/a Chrome/Safari/DOM n/a  

setCursor("cursorType")

  

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 with this method maintains its shape until explicitly changed to another shape or the default auto style. Precise cursor shape is determined by the operating system repertoire. Removed from Netscape 7.

 
Parameters
 
aliasautocellcontext-menu
copycount-downcount-upcount-up-down
crosshairdefaulte-resizegrab
grabbinghelpmoven-resize
ne-resizenw-resizepointers-resize
se-resizespinningsw-resizetext
w-resizewait
 
  • String name of a cursor style such as:
 
Returned Value

None.


Powered by Linode.