• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Mozilla and this.style.cursor='hand'

 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there a way to get this to work in Mozilla that I don't know about? Or is it just not working in my Mozilla?
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, this is nice what I just found out. Appreantly, "hand" appears nowhere in the W3C specs for CSS2. Instead, they use "pointer" which indicates, the mouse pointer as appears over a link. Which is a hand.
So, in your style or whatever you are using to do this you have to do
"this.style.cursor = 'pointer';this.style.cursor='hand'"
Note that pointer has to be defined before hand because Netscape/Mozilla will see the 'hand' first and skip 'pointer' if you decare it that way. IE sees both.
I guess a big thankyou should be extended to M$ once again for not adhering to standards and making up their own.
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Microsoft doesn't need to follow standards; they just declare themselves the new standard. Come on -- get with the program!
bear
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It really wouldn't be a big deal if they had added 'hand' to thier own version of CSS. But what me off the most is that they completely ignor specs in CSS. I mean, they completely ignor the 'pointer' attribute. As if it isn't even there. -ing Microsux!
[ November 21, 2003: Message edited by: Gregg Bolinger ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic