forked from p-m-p/jQuery-Stickybox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (62 loc) · 2.13 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html>
<head>
<title>jQuery stickysidebar plugin</title>
<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:extralight,light,regular,bold' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="../style/default.css" media="screen" />
<link rel="stylesheet" href="style/sticky.css" media="screen" />
</head>
<body>
<div id="wrap">
<header>
<h1>jQuery Sticky Sidebar</h1>
<div id="main">
<h2>Product catalogue</h2>
<ul id="products">
<li>
<h3>Product</h3>
<img src="style/images/product.png" width="126" height="126" alt="product image" />
</li>
<li>
<h3>Product</h3>
<img src="style/images/product.png" width="126" height="126" alt="product image" />
</li>
<li class="end">
<h3>Product</h3>
<img src="style/images/product.png" width="126" height="126" alt="product image" />
</li>
<li>
<h3>Product</h3>
<img src="style/images/product.png" width="126" height="126" alt="product image" />
</li>
<li>
<h3>Product</h3>
<img src="style/images/product.png" width="126" height="126" alt="product image" />
</li>
<li class="end">
<h3>Product</h3>
<img src="style/images/product.png" width="126" height="126" alt="product image" />
</li>
</ul>
</div>
<div id="side">
<div id="basket">
<h3>Your basket</h3>
<p>Total: <strong>£455.00</strong></p>
<span id="items">4</span>
</div>
</div>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="js/jquery.easing.1.3.js"></script>
<script src="js/stickysidebar.jquery.js"></script>
<script>
$(function () {
$("#basket").stickySidebar({
timer: 400
, easing: "easeInOutBack"
});
});
</script>
</body>
</html>