aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes image instead of cursor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "image instead of cursor" Watch "image instead of cursor" New topic
Author

image instead of cursor

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
How to replace mouse pointer (cursor) with an image?
I searched and found something like this, but it doesn't work:



TIA.
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

have a look this rathi ji.. Change Mouse Pointer


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Originally posted by Saif uddin:
have a look this rathi ji.. Change Mouse Pointer


Thanks Saif. But the code given in that link also doesn't work:

:roll:
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You have to use a *.ani or *.cur file.

Eric
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Originally posted by Eric Pascarello:
You have to use a *.ani or *.cur file.

Eric


Thanks Eric. It worked.

But can't we convert any .gif or .bmp etc file into .ani or .cur file manually (just by changing the extension)?

TIA.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

Originally posted by ankur rathi:
But can't we convert any .gif or .bmp etc file into .ani or .cur file manually (just by changing the extension)?

What happened when you tried it?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Originally posted by Bear Bibeault:

What happened when you tried it?


Browser didn't recognise it as cursor file and didn't show in place of mouse pointer. :roll:
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

Originally posted by ankur rathi:


Browser didn't recognise it as cursor file and didn't show in place of mouse pointer.


Question answered.
 
Don't get me started about those stupid light bulbs.
 
subject: image instead of cursor