Safari mouse pointer trick

Discussion in 'Web Design and Development (archive)' started by djits, Feb 17, 2004.

  1. djits macrumors newbie

    Oct 31, 2003
    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?
  2. sonofslim macrumors 6502a


    Jun 6, 2003
    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:

  3. rainman::|:| macrumors 603


    Feb 2, 2002
    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...

  4. mms macrumors 6502a

    Oct 8, 2003
    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.
  5. Rower_CPU Moderator emeritus


    Oct 5, 2001
    San Diego, CA
    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.
  6. sonofslim macrumors 6502a


    Jun 6, 2003
    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.
  7. elenaher@wanado macrumors newbie


    Aug 21, 2004
    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 :
    BODY { cursor:url(url); }

    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 ?

  8. davecuse macrumors 6502


    Feb 20, 2004
    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.

Share This Page