Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: making the cursor turn into a hand


Message #1 by "Joel Wickard" <joel.wrox.list@l...> on Wed, 25 Jul 2001 16:29:01 -0500
try this:

function cursorHand(whoToChange)
	{
		eval("document" + layerRef + "[whoToChange]" + styleRef + ".cursor 
'move'") ;
		eval("document" + layerRef + "[whoToChange]" + styleRef + ".cursor 
'crosshair'") ;
		eval("document" + layerRef + "[whoToChange]" + styleRef + ".cursor 
'wait'") ;
		eval("document" + layerRef + "[whoToChange]" + styleRef + ".cursor 
'hand'") ;
    }






-----Original Message-----
From: Joel Wickard [mailto:joel.wrox.list@l...]
Sent: Wednesday, July 25, 2001 5:29 PM
To: javascript
Subject: [javascript] making the cursor turn into a hand


Is there an easy way to make the cursor turn into the hand icon using the
onmouseover event?


  Return to Index