Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  
  
  Click on textarea to edit<br />
  <textarea></textarea>
  
  <div id="text_editor">TEXT EDITOR</div>
  
  
</body>
</html>
 
#text_editor{
  background:#eee;
  width:300px;
  height:200px;
  padding:15px;
  display:none;
}
 
var $editor = $('#text_editor');
$('textarea').click(function(e){
  e.stopPropagation();
  $editor.fadeTo(400,1);
});
$('body').on('click', function ( e ) {
  if( !($(e.target).is('#text_editor')) && $editor.is(':visible') ){
    $editor.hide();
  }
});
// //////////////
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers