PDA

View Full Version : Safari mouse pointer trick


djits
Feb 17, 2004, 04:18 PM
I was just at apple's website when I moused over the time left until the iPod mini came out and my mouse curser changed to the hand with a tan color. This is a neat trick that I have never seen done before. How did they get the curser to change color?

sonofslim
Feb 17, 2004, 04:32 PM
it's a css thing. most modern browsers allow you to define a cursor style, but only some of them allow you to define a custom cursor by pointing to a file as follows:

cursor:url(uri)

rainman::|:|
Feb 17, 2004, 04:34 PM
That is odd, i never noticed that happening before. The reason is that the date/time is a Quicktime file, so that it changes. The cursor you're seeing is part of Quicktime, perhaps specific to the type of file that they're using here. Someone with more understanding of Quicktime could probably explain better.

edit: sonofslim, i don't see a cursor reference in index.html or their CSS stylesheet. I'm going with QT on this one...

paul

mms
Feb 19, 2004, 01:20 AM
It's not just a Safari thing. I tried it in IE too, out of interest, and it still does that. Haven't tried a Mozilla browser on it yet but I'm sure it will have the same result.

Rower_CPU
Feb 19, 2004, 12:59 PM
I'm pretty sure I've seen that effect with QT objects before, and I don't know of a cursor state that gives you a yellow hand...

However, it's nice that Safari 1.2 finally recognizes cursor states, and will pop-up title info on links. Those were a couple notably absent features for a modern browser.

sonofslim
Feb 19, 2004, 01:27 PM
Originally posted by paulwhannel
i don't see a cursor reference in index.html or their CSS stylesheet. I'm going with QT on this one...

you're right. i tried it with a browser that does not support custom cursors, and it still worked, so CSS is not the answer.

elenaher@wanado
Aug 21, 2004, 10:01 AM
Hello,
I don't understant why on mac we can't use custom cursors ? I have read your posts and i don't understand. I use Safari 1.2.2 and IE and this type of things doesn't work :
<style>
BODY { cursor:url(url); }
</style>

I have never see a browser on mac which support this thing.
Is it a bug on my computer ? ( on a mac, it would be unbelievable :) )
What type of files do you use ? .gif ? .cur ? .ani ?
I see also that you would try to use QT but how ?

Thanks.

davecuse
Aug 21, 2004, 10:45 AM
Hello,
I don't understant why on mac we can't use custom cursors ? I have read your posts and i don't understand. I use Safari 1.2.2 and IE and this type of things doesn't work :
<style>
BODY { cursor:url(url); }
</style>

I have never see a browser on mac which support this thing.
Is it a bug on my computer ? ( on a mac, it would be unbelievable :) )
What type of files do you use ? .gif ? .cur ? .ani ?
I see also that you would try to use QT but how ?

Thanks.

I for one am glad that this is difficult if not impossible to do. I hate when a website changes something on my computer. That scroll bar trick in IE really bugs me as well. Keep your website where it belongs, within the browser window, don't go screwing around with the settings of my pointers and scroll bars, I'll change those if i deem necessary.