JavaScript Reference/Javascript Properties/cursor
Содержание
"cursor" Example
<source lang="javascript">
<html> <body> <script language="JavaScript">
function function1() { document.all.Layer1.style.cursor = "hand"; } function function2() { document.all.Layer1.style.cursor = "help"; } function function3() { document.all.Layer1.style.cursor = "wait"; }
</script>
<button onclick="function1();">Replace cursor for "hand"</button> <button onclick="function2();">Replace cursor for "help"</button> <button onclick="function3();">Replace cursor for "wait"</button> </body> </html>
</source>
"cursor" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |<a> <address> | | |<applet> |
| ||| |<body>
| | | | | |
| |<dir><col> | | |<colgroup> <custom> | | |
| | | |
- | | | <embed> | | |<fieldset> <form> | | |<hN>
|| |<html> | | |<iframe> <img> | | |<input type="button"> <input type="checkbox"> | | |<input type="file"> <input type="hidden"> | | |<input type="image"> <input type="password"> | | |<input type="radio"> <input type="reset"> | | |<input type="submit"> <input type="text"> | | | <label> |
| |<legend>- | | |<listing> <marquee> | | |<menu> <object> | | |
| | |<plaintext>
| | |