View Single Post
  #3 (permalink)  
Old April 7th, 2010, 10:41 AM
andypandyrox456 andypandyrox456 is offline
Registered User
 
Join Date: Apr 2010
Location: Planet Earth
Posts: 70
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by PeterPeiGuo View Post
The following works in IE8, Safari and Chrome. Unfortunately not Firefox and Opera.

Code:
<html>
<head>

</head>
<body>
	<h1 onclick="document.body.style.cursor = 'url(3dsmove.cur), default';">Foo</h1>
</body>
</html>
Thanks!
I assume that this only takes .cur file extensions. Am I correct, or can it take .png or .jpeg or .gif also?
Second, can I save images as a .cur file in Paint? I tried it in a program called GIMP, and it didn't allow me to do that.
Third, in that code, it only sets the cursor for that specific <H1> element. Can I make it for the entire body?
Reply With Quote