Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / December 2006



Tip: Looking for answers? Try searching our database.

cursor:url(...) and Macintosh

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Markus Ernst - 21 Dec 2006 19:23 GMT
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
David Dorward - 21 Dec 2006 19:59 GMT
>    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.

Signature

David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
                    Home is where the ~/.bashrc is

Markus Ernst - 28 Dec 2006 15:57 GMT
David Dorward schrieb:

>>    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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.