Sha256: c3ba39027c69b2a5b297169cb7a1b2db7f1e985e8fe0ff8dc946ae7b5160c04b
Contents?: true
Size: 566 Bytes
Versions: 7
Compression:
Stored size: 566 Bytes
Contents
<style> #box1 { width: 100px; height: 30px; margin: 0 auto; background-color: #090; text-align: center; line-height: 30px; } </style> <p>When you drag the green box to the left and right, the number inside the box should change, showing how many pixels the element was dragged. The element itself should stay in place.</p> <div id="box1">0</div> <script src="/depender/build?require=More/Drag.Move"></script> <script type="text/javascript"> var dragger = $('box1').makeDraggable({ modifiers: {x: 'innerHTML', y: null}, style: false }); </script>
Version data entries
7 entries across 7 versions & 1 rubygems