| Programming C# C++ (7) Delphi (617) Java (8) JavaScript (31) Document (8) Events (8) ExtJS (9) Strings (3) perl (9) php (4) VBScript (1) Visual Basic (1) New related comments Number of comments in the last 48 hours Reload a web page with a javascript function |
How to change the cursor?
Question: Is it possible to select a certain cursor (e.g. the hour glass) for a web page?Answer: Internet Explorer offers this since version 4 and Netscape since version 6. The relevant property is document.body.style.cursor.You can script it as shown in the example or make it part of a CSS (makes less sense in my opinion). Note:
Comments:
| |||||||||||||||||||||||