Custom cursor using Javascript in Firefox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rnd me
    Recognized Expert Contributor
    • Jun 2007
    • 427

    #16
    Originally posted by DMsy2
    Is .cur a proprietary M$ format that only IE supports?
    yes and no.

    .cur is basically a monochrome bitmap, so it may be viewable when loaded as a bmp, which many browsers handle.
    Firefox allows .cur since 2.0

    according to MDC, this is your best bet:
    Code:
    cursor:  url(foo.cur), url([url]http://www.example.com/bar.gif[/url]), auto;

    Comment

    • KeredDrahcir
      Contributor
      • Nov 2009
      • 426

      #17
      Thanks for all your help, acoder's solution of adding the defualt afterwards works. Adding the url(***.cur) stopped working in IE but when I added the default it worked again in IE and now works in Firefox.

      Many thanks all,

      Comment

      • KeredDrahcir
        Contributor
        • Nov 2009
        • 426

        #18
        I now have it working in IE, Firefox, Safari and Google Chrome. Any ideas how to get it working in Opera?

        Comment

        • acoder
          Recognized Expert MVP
          • Nov 2006
          • 16032

          #19
          I don't think Opera supports custom cursors.

          Comment

          • unnikrishan b

            #20
            I also have a similar problem but it's work for me when i entered the full path to the cursor file.

            Comment

            Working...