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>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  
  <div id="tabs">
  <ul>
        <li><a href="#tabs-1">TAB 1</a></li>
        <li><a href="#tabs-2">TAB 2</a></li>
        <li><a href="#tabs-3">TAB 3</a></li>
    </ul>
  
    <div id="tabs-1">
  <input type="button" value ="-" onClick="zoom(0.9, 'pic')"/>
<input type="button" value ="+" onClick="zoom(1.1, 'pic')"/>
  
  
<div id="thediv">
<img id="pic" src="http://cdn1.iconfinder.com/data/icons/VistaICO_Toolbar-Icons/256/Zoom-in.png"/>
</div>
  
    </div>   
    
    <div id="tabs-2">
  <input type="button" value ="-" onClick="zoom(0.9, 'pic2')"/>
<input type="button" value ="+" onClick="zoom(1.1, 'pic2')"/>
  
  
<div id="thediv">
<img id="pic2" src="http://stereo-ssc.nascom.nasa.gov/beacon/t0193.jpg"/>
</div>
  
    </div>   
    
    <div id="tabs-3">
  <input type="button" value ="-" onClick="zoom(0.9, 'pic3')"/>
<input type="button" value ="+" onClick="zoom(1.1, 'pic3')"/>
  
  
<div id="thediv">
<img id="pic3" src="http://www.gettyimages.com/CMS/StaticContent/1348695736616_animals.jpg"/>
</div>
  
    </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