OKIEWARDOYO

PHP MYSQL No.10 - fungsi sortable

Aug 27th, 2012
2,561
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                 $(document).ready(function() {
  2.                     $('.column_builder').sortable({
  3.                         connectWith: '.column_builder',
  4.                         handle: 'h2',
  5.                         cursor: 'move',
  6.                         placeholder: 'placeholder',
  7.                         forcePlaceholderSize: true,
  8.                         opacity: 0.6,
  9.                         stop: function(event, ui){
  10.                             savePosition();
  11.                         }
  12.                     }).disableSelection();
  13.                 });
Advertisement
Add Comment
Please, Sign In to add comment