• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Changing Mouse Cursor

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would like to change the cursor type depending on the different buttons cilcked.
Is anyway to change the mouse pointer using either JavaScript/JScript/ASP/HTML.
 
Ranch Hand
Posts: 1070
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The only way I know how to change the mouse pointer is to use something like Director or maybe Flash. The pointer is part of OS, so you would need some kind of application to change that and HTML and Javascript are not applications that can do that.
I know ASP can't do it because that is server side, but I am not 100% on DHTML stuff and maybe you can do it there. I would be a little surprised if you could, but maybe. Do a search on some good DHTML sites and see what you can find. I know with DHTML you can make trails from your mouse pointer, but I don't think you can change your pointer.
Bill
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
At least in IE, you can change the mouse cursor to one of the existing types. In script you'd write
document.body.style.cursor = "wait"; (or default or hand...)
 
bill bozeman
Ranch Hand
Posts: 1070
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Cool one Andrew. Looked it up a little more at this site. This page will give you all the possible values of what you can change the cursor to.
This does work in IE, haven't tried the mac, but I will test it out on MAC IE when I get a second.
However, Netscape doesn't have the ability to do this.
Bill
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got the same problem, but i have to work on Netscape 4.75 without any plug-ins on flash. Will DHTML works?
Please reply for my pronblem also.
 
reply
    Bookmark Topic Watch Topic
  • New Topic