Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
  <script src="https://code.jquery.com/jquery-2.1.4.js"></script>
  <button onclick="pop()">Open</button>
</body>
</html>
 
function pop(){
  var win = window.open("", "Title", "toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=780, height=200, top=0, left=0");
win.document.body.innerHTML = "HTML";
  
  $({foo:0}).animate({foo:100}, {
    step: function(val) {
        win.resizeTo(val * 5, val * 5);
    }
  });
}
Output

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

Dismiss x
public
Bin info
moshfeupro
0viewers