Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
58 lines (43 sloc) 1.37 KB
<title>Sticky Sidebar Demo - Basic</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="./demo.styles.css" media="all">
.container { width: 100%; }
#main { width: 50%; }
<div id="header"></div>
<div id="content">
<div class="container">
<div id="main">
<h1>A Sticky Sidebar demo</h1>
<p>This is a barebones demo showing a typical sticky sidebar UX.</p>
<p>Sometimes you want the summary to stay in view no matter now long the page is.
Useful when you have a long form with multiple items to keep track of.</p>
</div><!-- /#main -->
<div id="sidebar">
<h2>Summary box</h2>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
<li>Item 5</li>
</div><!-- /#sidebar -->
</div><!-- /.container -->
</div><!-- /#content -->
<div id="footer"><p><small>&copy; 2011. Yelotofu. No rights reserved.</small></p></div>
<script src="" type="text/javascript"></script>
<script src="./jquery.stickysidebar.js"></script>