Skip to content

Instantly share code, notes, and snippets.

@Shiti
Created October 1, 2012 18:51
Show Gist options
  • Save Shiti/3813692 to your computer and use it in GitHub Desktop.
Save Shiti/3813692 to your computer and use it in GitHub Desktop.
jQuery UI draggable() and resizable() on an image
$('img').load(function(evt){
$('.drag').resizable()
$('.ui-wrapper').draggable();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment