English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I really want to put my custom cursor into my website, but all the .css tags I've found only work with I.E. Is there some sort of javascript or other tag that works in FireFox?

I do not want:

body { cursor: url(customcursor.cur); }

NOR DO I WANT:

2007-03-22 14:16:10 · 2 answers · asked by Brendan M 1 in Computers & Internet Programming & Design

2 answers

that's because neither would work!

It's very much against the spirit of the web to muck with a person's cursor. Firefox doesn't allow custom cursors, nor does anything but IE allow it.

That being said, you can choose from these:

cursor: auto the default cursor
cursor: crosshair gun-style cross
cursor: default no change
cursor: pointer the normal hand pointer that appears when you hover over a link
cursor: hand a value that is only supported in IE. Don’t use it, use pointer instead
cursor: wait the hourglass (non-animated, sadly)
cursor: text the text-selecting 'I-beam' thing
cursor: help an arrow with a question-mark
cursor: move crosshair with arrows on the ends

cursor: n-resize an arrow pointing north
cursor: ne-resize an arrow pointing north-east
cursor: nw-resize an arrow pointing north-west
cursor: e-resize an arrow pointing east
cursor: w-resize an arrow pointing west
cursor: s-resize an arrow pointing south
cursor: se-resize an arrow pointing south-east
cursor: sw-resize an arrow pointing south-west

and the infamous cursor:none with a little javascript the follow the mouse position with an image!

2007-03-22 15:01:04 · answer #1 · answered by jake cigar™ is retired 7 · 0 1

Cursor modifications are dodgy at best. There was some work several years ago to get widespread adoption for a browser plugin that supported custom cursors, but that ultimately failed. The CSS specification does not include a definition for creating custom cursors. The reason it works in IE is because Microsoft added their own proprietary extensions beyond the W3C standard.

That is not even getting into the myriad of user experience problems presented by having a custom cursor. Uninvited disruptions on what users normally rely on as a constant in their computing environment are always unwelcome.

Short answer: don't do custom cursors.

2007-03-22 15:00:12 · answer #2 · answered by Rex M 6 · 0 1

fedest.com, questions and answers