Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<link href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.min.css" rel="stylesheet" type="text/css" />
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="//code.jquery.com/ui/1.11.2/jquery-ui.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
  <style>
    .drag {
      border: 1px solid black;
      background-color: red;
      width: 100px;
      height: 100px;
    }
    .drop > div {
      border: 1px solid black;
      width: 120px;
      height: 120px;
      font-size: 30px;
      text-align: center;
    }
    .dropover {
      background-color: blue;
    }
    
  </style>
</head>
<body>
  <div id="drop" class="drop">
    <span>Drop without timeout on over, last event executed :</span>
    <strong class="result"></strong>
    <div>2</div>
    <div>1</div>
  </div>
  <div id="drop-timeout" class="drop">
    <span>Drop with timeout on over, last event executed :</span>
    <strong class="result"></strong>
    <div>2</div>
    <div>1</div>
  </div>
  <div class="drag"></div>
 
</body>
</html>
Output

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

Dismiss x
public
Bin info
tricky21pro
0viewers