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 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Feb 2011
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Lightweight Animation

    I'm working on a web app, and one part of it involves resizing and dragging div elements. Because one of my goals for this web app is to be very lightweight and load quickly, I don't want to use a huge framework like jQuery.

    I wondered if anyone knew of a small library that could do dragging and resizing.

  • #2
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,190
    Thanks
    10
    Thanked 569 Times in 550 Posts
    there is a small and ultra-efficient drag and drop library in my signature under dnd...
    it has basic repositioning with location memorization, and provides an ondnd event for creating interactions.

    still, there is a new dnd standard in html5, and you might want to look into that for complex actions like data transfer.
    Last edited by rnd me; 02-02-2011 at 10:26 PM.
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/1/19) IE7:0.2, IE8:6.7, IE11:7.4, IE9:3.8, IE10:4.4, FF:18.3, CH:43.6, SF:7.8, MOBILE:27.5

  • Users who have thanked rnd me for this post:

    dev.genius (02-03-2011)

  • #3
    New to the CF scene
    Join Date
    Feb 2011
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Thanks for the response. However, I realized that I need something else also: a show/hide system to hide/show divs. I know I could do this using the visible css property, but do you know any libraries/frameworks that can show/hide using a fade effect, and also do what I mentioned in my first post?


  •  

    Posting Permissions

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