Tuesday, 8 March 2016

Draggable

I have successfully managed to tick off one of my goals for the paper - draggable elements. Thanks to https://jqueryui.com/draggable/ I was able to turn my bipyrimid into a draggable element. Was actually quite easy. after linking to the jquery and the UI library i was 3 simple lines of code. 

$(function() {
    $( "#drag" ).draggable();
  });



No comments:

Post a Comment