Opened 15 years ago
Closed 15 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)
Change History (5)
comment:1 Changed 15 years ago by
Milestone: | 1.2.1 → 1.2.2 |
---|---|
need: | Review → Test Case |
Changed 15 years ago by
Attachment: | jquery_test.html added |
---|
comment:2 Changed 15 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
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.
test case (built based on description)