File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dragabble custom cursors using jquery

 
Padma Priya
Ranch Hand
Posts: 123
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am new to Jquery.

Is there any way i can specify my own custom cursor with the draggable Jquery UI plugin.


Thank you in advance!


 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64196
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'd use CSS. When the drag operation starts, you can assign a class, or augment the existing classes, to show a custom cursor.
 
Padma Priya
Ranch Hand
Posts: 123
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,


I am not able to get the line 9 work which ever way i try. I am a newbie in jquery and not sure how to go ahead with finding the right solution.

Can you please throw some light on how to change my cursor to a custom cursor.

Below is the code.

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64196
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you assigning CSS to the element at startup in script rather than just using a stylesheet? Why do things the hard way when easier ways exist?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic