Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("#handle").draggable({
- axis: 'x',
- containment: 'parent',
- cursor: "move",
- drag: function(event, ui) {
- $("#item").css({"left": -ui.position.left});
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement