473,503 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5354
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
1899
by: Michael | last post by:
Okay. For reasons I don't feel like getting into, as it would depress me... I have the following need. A good php editor for windows, that does colorize my code and stuff to help me check my...
3
5891
by: Gary Richardson | last post by:
I would like to define a new cursor for use on a Canvas (other than one of those listed in Appendix F of "Python and Tkinter Programming"). A search on Google turned up one bit of code that seemed...
0
1059
by: Mark | last post by:
We recently developed a .NET application in C#. It appears to work fine on a majority of browsers with subtle variation, with the exception of Explorer on a Mac. Now, I wish I could throw the...
2
2383
by: Bruce W.1 | last post by:
There's something I can't figure out. I added some javascript behavior to my datagrid, just like in this article, except in C# instead of VB: ...
0
1137
by: John DeSoi | last post by:
Hi, I'm working on a new product for PostgreSQL (description below) and I'm looking for a few more Mac users who might be interested in beta testing. The first release will be for Mac OS X 10.2...
4
2433
by: John DeSoi | last post by:
The first public beta for pgEdit is now available (see product description below). If you would like to participate in the beta program, evaluate the software and send some feedback to me (e.g....
21
13588
by: PlainDave | last post by:
Hi, Is there a way to make windows tooltips stay up longer than the default 5 seconds using CSS in a web page? I'd prefer to have it stay visible as long as the mouse is over the "whatever." The...
45
4489
by: Gaijinco | last post by:
Hi my name is Carlos Obregón and I'm currently a profesor of C/C++ programming at the CUMD in Bogotá Colombia. This last term I ask my students to develop an implementation of the minesweeper...
0
293
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 356 open ( -1) / 3756 closed (+11) / 4112 total (+10) Bugs : 968 open (+10) / 6673 closed (+16) / 7641 total (+26) RFE : 254 open...
0
7204
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7091
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7282
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7464
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5586
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5018
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3162
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
741
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
391
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.