Ticket #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: | |
| Blocking: | Blocked by: |
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
Change History
comment:1 Changed 6 years ago by brandon
- need changed from Review to Test Case
- Milestone changed from 1.2.1 to 1.2.2
Changed 6 years ago by davidserduke
-
attachment
jquery_test.html
added
test case (built based on description)
comment:2 Changed 6 years ago by davidserduke
- Status changed from new to closed
- Resolution set to worksforme
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.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
