Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

djits

macrumors newbie
Original poster
Oct 31, 2003
1
0
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?
 
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:

Code:
cursor:url([i]uri[/i])
 
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
 
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.
 
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.
 
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.
 
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.
 
elenaher@wanado said:
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.