1
0
mirror of https://github.com/moparisthebest/app-UI synced 2024-11-15 21:55:09 -05:00
app-UI/examples/samples/03 - slidingView/01 - basic/index.html
2012-04-20 14:29:25 -04:00

45 lines
968 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Sliding View Sample</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<script src="../../../src/libs/jquery-1.7.1.js"></script>
<script src="../../../src/libs/jquery.animate-enhanced.js"></script>
<link rel="stylesheet" href="../../../src/slidingview/slidingview.css" type="text/css" />
<script src="../../../src/slidingview/slidingview.js"></script>
<script>
$(document).ready( function() {
//Setup the ViewNavigator
new SlidingView( 'sidebar', 'body' );
} );
</script>
<style>
#sidebar {
background-color: red;
padding:10px;
}
#body {
background-color: white;
padding:10px;
}
</style>
</head>
<body>
<div class="slidingview_wrapper">
<div id="sidebar">sidebar here!</div>
<div id="body">body here!</div>
</div>
</body>
</html>