469,580 Members | 2,040 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,580 developers. It's quick & easy.

cursor:url(...) and Macintosh

Hi

Trying to display the cursor as a lens when hovering an image with a
link that displays a bigger version of the same image, I did this:

a.lens {
cursor:url("/site/pix/corporate/lens.cur"), pointer;
}

That works fine with Firefox 2.0 and Internet Explorer on Windows (not
with Opera), but on the Mac Firefox 2.0 displays the pointer. I tried
setting an image mime type in the .htaccess file:

AddType image/x-icon .ico .ani .cur

But with no success. Also, while Windows Firefox accepts other file
formats such as gif as cursors, Mac Firefox does not seem to interpret
the url cursor value at all. I can't test it with Safari 2.0 as I don't
have the latest OS, but Safari 1.3 does not display the cursors either,
though I read that this should be supported from version 1.2.

BTW, when I address the lens.cur file directly with Firefox, it displays
it as any other image.

Is there any trick for making cursor:url() work on Macs, too?

Thanks for a hint!
Markus
Dec 21 '06 #1
2 5261
Markus Ernst wrote:
cursor:url("/site/pix/corporate/lens.cur"), pointer;
I don't know about cursor support, but IE/Mac (a browser with minute market
share and no support from the vendor) has problems with URLs delimited with
single quotes. Use double quotes or no quotes.

--
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Dec 21 '06 #2
David Dorward schrieb:
Markus Ernst wrote:
> cursor:url("/site/pix/corporate/lens.cur"), pointer;

I don't know about cursor support, but IE/Mac (a browser with minute market
share and no support from the vendor) has problems with URLs delimited with
single quotes. Use double quotes or no quotes.
Thank you for this input; I retried it with and without quotes, also
used a GIF instead a CUR (which is supported by Windows Firefox, too) -
with no effect (FF 2.0 on MacOS 10.3 and 10.4, Safari 1.2 on MacOS 10.3
and 2.0 on 10.4). So I assume that cursor:url(...) is not supported at
all on Macs.
Dec 28 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Michael | last post: by
3 posts views Thread by Gary Richardson | last post: by
2 posts views Thread by Bruce W.1 | last post: by
reply views Thread by John DeSoi | last post: by
21 posts views Thread by PlainDave | last post: by
45 posts views Thread by Gaijinco | last post: by
reply views Thread by Kurt B. Kaiser | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.