forked from homerjam/angular-sticky-container
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (39 loc) · 1.52 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
<html>
<head>
<title>angular-sticky-container</title>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
<link rel="stylesheet" type="text/css" href="example/styles.css">
</head>
<body ng-app="ExampleApp">
<div class="container">
<div class="row" hj-sticky-container="{enableTranslate: false}">
<div class="three columns caption" hj-sticky-target hj-sticky-scroll-offset="50">
<h2>Great shot!</h2>
</div>
<div class="nine columns">
<img src="example/img/2.jpg">
</div>
</div>
<div class="row" hj-sticky-container>
<div class="three columns" hj-sticky-target hj-sticky-scroll-offset="50">
<h2>Nice pic!</h2>
</div>
<div class="nine columns">
<img src="example/img/1.jpg">
</div>
</div>
<div class="row">
<div class="three columns">
<h2>What sky!</h2>
</div>
<div class="nine columns">
<img src="example/img/3.jpg">
</div>
</div>
</div>
<script type="text/javascript" src="bower_components/angular/angular.min.js"></script>
<script type="text/javascript" src="bower_components/hamsterjs/hamster.js"></script>
<script type="text/javascript" src="angular-sticky-container.js"></script>
<script type="text/javascript" src="example/app.js"></script>
</body>
</html>