• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Changing Mouse Cursors

Here’s another good one to know: You can change the mouse cursor in the Internet Explorer with the cursor property. Here’s an example that makes that browser display a hand cursor rather than the default cursor when the mouse moves over some text:

(Listing 21-13.html on the web site)

<HTML> 
    <HEAD> 
        <TITLE> 
            Setting Mouse Cursors 
        </TITLE> 
    </HEAD> 

    <BODY> 
        <H1> 
           Setting Mouse Cursors 
        </H1> 
        <DIV ONMOUSEOVER="this.style.cursor = 'hand'"
					ONMOUSEOUT="this.style.cursor = 'default'">
					Change the cursor with the mouse.
					</DIV> 
    </BODY> 
</HTML> 


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint