Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2013
    Posts
    5
    Thanks
    0
    Thanked 1 Time in 1 Post

    Adding classes to draggable and droppable elements

    Hey guys. I really need your help with this one.
    I've been trying so hard to get this right but I just can't do it..

    jsfiddle: http://jsfiddle.net/5Vyq8/13/

    What I'm trying to achieve is this:

    1. drag a row to an other row (CHECK)
    2. while hovering for more than 1 second it should add a class to the row under
    3. When still hovering and moving on to other rows it should remove the added class in step 2.

  2. #2
    Master Coder sunfighter's Avatar
    Join Date
    Jan 2011
    Location
    Washington
    Posts
    6,430
    Thanks
    30
    Thanked 878 Times in 876 Posts
    Evolution - The non-random survival of random variants.
    Physics is actually atoms trying to understand themselves.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •