draggable

Experimental jQuery plugin to drag things.

How to use it

$(".block").draggable({ 
    container:         $(".container"), // container element
    stickiness:        10,              // stickiness precision
    vertical_guides:   [300, 400],      // vertical guides offsets
    horizontal_guides: [200, 300]       // horizontal guides offsets
});

Demo

Demo