1

This is my code:

$('body').css('cursor','url(http://5211.91.tc/imcur/020.cur),auto');

Thanks

1
  • Are you sure this is a jQuery issue? Have you tried document.body.style.cursor = "url(http://5211.91.tc/imcur/020.cur), auto"; instead? Commented Mar 15, 2010 at 10:44

1 Answer 1

3

Quirksmode has defined some rules for cursor images, one of them -

The size of the image must be 32x32 pixels or lower. This is a (Windows) OS restriction; not a browser restriction.

Sign up to request clarification or add additional context in comments.

2 Comments

The cursor appears fine for me in Internet Explorer if I apply the style directly. I don't think size is the problem.
I am unable to see the cursor in Firefox 3.5.8 on Ubuntu. I defined it in CSS.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.