Skip to main content

Bug Tracker

Side navigation

#1705 closed bug (worksforme)

Opened September 21, 2007 01:08PM UTC

Closed December 10, 2007 04:52PM UTC

cant set url in css

Reported by: nospor Owned by:
Priority: minor Milestone: 1.2.2
Component: core Version: 1.2.1
Keywords: css cursor Cc:
Blocked by: Blocking:
Description

I can set css cursor like this:

$('#myid').css('cursor', 'pointer');

but I can't set css cursor, when it is url:

$('#myid').css('cursor', 'url(http://my/url.cur)');

or:

$('#myid').css('cursor', 'url("http://my/url.cur")');

Why? Style cursor: url("http://my/url.cur") is corectly in css, is'nt it?

Attachments (3)
  • jquery_test.html (1.1 KB) - added by davidserduke December 10, 2007 04:48PM UTC.

    test case (built based on description)

  • mycursor.cur (2.2 KB) - added by davidserduke December 10, 2007 04:48PM UTC.

    test case data

  • pizza.jpg (32.3 KB) - added by davidserduke December 10, 2007 04:48PM UTC.

    test case data

Change History (2)

Changed December 08, 2007 05:26AM UTC by brandon comment:1

milestone: 1.2.11.2.2
need: ReviewTest Case

Changed December 10, 2007 04:52PM UTC by davidserduke comment:2

resolution: → worksforme
status: newclosed

Try out the test case. Setting both "background" and "cursor" worked for me in IE. In FF, only "background" worked but from what I can tell custom cursors aren't supported in FF and there is nothing that jQuery can do about that.