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
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,102
    Thanks
    23
    Thanked 594 Times in 593 Posts
    Evolution - The non-random survival of random variants.

    "If you leave hydrogen alone, for long enough, it begins to think about itself."


  •  

    Posting Permissions

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