Bug Tracker

Ticket #2720: x.html

File x.html, 498 bytes (added by aiiiq, 15 years ago)
Line 
1<script src="jquery-1.2.4a.js"></script>
2<script src="jquery.ui-all-1.5b2.js"></script>
3<style>
4.test { width:200px; height:200px; margin:10px; background-color:#68BFEF; }
5</style>
6<script>
7$(document).ready(function(){
8    for (var div,i=1; i<=5; i++) {
9        div += '<div id="'+i+'" class="test">'+i+'</div>';
10    }
11    $(div).appendTo("body");
12
13    $('.test').draggable({
14        helper: 'clone'
15    });
16});
17</script>
18scroll to botton, drag the last div, you will see the bug.