cursor:url(...) and Macintosh

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Markus Ernst

    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
  • David Dorward

    #2
    Re: cursor:url(...) and Macintosh

    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

    Comment

    • Markus Ernst

      #3
      Re: cursor:url(...) and Macintosh

      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.

      Comment

      Working...