Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <meta charset="UTF-8">
    <title>Test</title>
    <style type="text/css">
        .primary { width: 60%; float: left; background: #ff0; }
        .secondary { width: 40%; float: left; background: #df0; }
        #expandable-1, 
        #expandable-2 { display: none; position: relative; z-index: 1000; }
    </style>
</head>
<body>
    <div id="page">
        <div class="primary">
            <div class="main">
                <a href="#expandable-1">Expand Container #1</a> <br />
                <a href="#expandable-2">Expand Container #2</a>
            </div>
            <div id="expandable-1">
                Container #1
            </div>
            <div id="expandable-2">
                Container #2
            </div>
        </div>
        <div class="secondary">
            secondary
        </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