Skip to content

Commit

Permalink
Test for Drag.Move with option style: false.
Browse files Browse the repository at this point in the history
  • Loading branch information
timwienk committed Oct 15, 2010
1 parent d1c2db9 commit e244fcf
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Tests/Drag/Drag.Move_(style_false).html
@@ -0,0 +1,24 @@
<style>
#box1 {
width: 100px;
height: 30px;
margin: 0 auto;
background-color: #090;
text-align: center;
line-height: 30px;
position: relative;
}
</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>

0 comments on commit e244fcf

Please sign in to comment.