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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 60041
    
  65

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: 60041
    
  65

Originally posted by ankur rathi:


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


Question answered.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: image instead of cursor
 
Similar Threads
cursor style over an image
Cursor Image on Applet???
Problem using DIV tag
Change the cursor to pointer in the edit profile page.
Changing Cursor Image??