SHARE
TWEET

Untitled

a guest Nov 15th, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="img-div ">
  2.    <?php ...?>
  3.    <img src="<?php echo $weburl . 'uploads/' . $data['id']?>" class="img-responsive choice">
  4.    <?php ... ?>
  5. </div>
  6.    
  7. <div class="col-md-4 material-set" class="target">
  8. </div>
  9. <div class="col-md-4 material-set" class="target">
  10. </div>
  11.    
  12. $(document).ready(function(){
  13.     $(".choice").draggable({
  14.         snap: ".target"
  15.     });
  16. });
RAW Paste Data
Top