Bug Tracker

Opened 13 years ago

Closed 13 years ago

#1705 closed bug (worksforme)

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 13 years ago.
test case (built based on description)
mycursor.cur (2.2 KB) - added by davidserduke 13 years ago.
test case data
pizza.jpg (32.3 KB) - added by davidserduke 13 years ago.
test case data

Download all attachments as: .zip

Change History (5)

comment:1 Changed 13 years ago by brandon

Milestone: 1.2.11.2.2
need: ReviewTest Case

Changed 13 years ago by davidserduke

Attachment: jquery_test.html added

test case (built based on description)

Changed 13 years ago by davidserduke

Attachment: mycursor.cur added

test case data

Changed 13 years ago by davidserduke

Attachment: pizza.jpg added

test case data

comment:2 Changed 13 years ago by davidserduke

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.

Note: See TracTickets for help on using tickets.