Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
    <title>JS Bin</title>
    <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/smoothness/jquery-ui.min.css" rel="stylesheet" type="text/css" />
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
  
    <script>
        $(function () {
            var div = $('#Container');
            
            var gridHeaderRow = div.find('.hrow');
            var groupBar = div.find('.bar');
            gridHeaderRow.find('.drag').draggable({ helper: "clone", containment: div, cursorAt: { left: 1 }, distance: 1 });
        });
    </script>
</head>
<body style="height: 1500px;">
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    in IE (8/9/10), FF scroll until this text is at the top (make the window height smaller so you could scroll) and drag a "drag me", note how the drag me instantly appears at the bottom way lower than the cursor
    <div id="Container">
        <div class='bar'>foo bar</div>
        <table>
            <tr class='hrow'>
                <th>
                    <div class="drag">drag me</div>
                </th>
                <th>
                    <div class="drag">drag me</div>
                </th>
                <th>
                    <div class="drag">drag me</div>
                </th>
            </tr>
        </table>
        <div>
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
        </div>
    </div>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers