Bug Tracker

Modify

Ticket #1705 (closed bug: worksforme)

Opened 6 years ago

Last modified 6 years ago

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

jquery_test.html Download (1.1 KB) - added by davidserduke 6 years ago.
test case (built based on description)
mycursor.cur Download (2.2 KB) - added by davidserduke 6 years ago.
test case data
pizza.jpg Download (32.3 KB) - added by davidserduke 6 years ago.
test case data

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

test case (built based on description)

Changed 6 years ago by davidserduke

test case data

Changed 6 years ago by davidserduke

test case data

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.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.