Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function() {
- $( "#menu" ).menu();
- });
- $( "#sortable" ).sortable();
- $( "#sortable" ).disableSelection();
- $( "li" ).draggable();
- $( "#menu li" ).droppable({
- drop: function( event, ui ) {
- $( this )
- .appendTo( "#items" );
- }
- });
- $( "#items li" ).droppable({
- drop: function( event, ui ) {
- $( this )
- .appendTo( "#menu" );
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement