-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.htm
43 lines (43 loc) · 1.22 KB
/
index.htm
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
<!DOCTYPE html>
<html>
<head>
<title>LoadMore</title>
<link rel="stylesheet" type="text/css" href="main.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="scripts/loadmore.js"></script>
</head>
<body>
<header>
<div class="title">LoadMore</div>
<div class="subtitle">An implementation of the scroll-to-load paradigm.</div>
</header>
<div class="container">
<div class="sub-container"></div>
</div>
<footer>
© 2013 Derek Ju
</footer>
<script type="text/javascript">
$(function () {
window.LoadMore.bind(
{
numToShow: 3
},
[
'http://www.simonstalenhag.se/bilder/fjarrhandske.jpg',
'http://www.simonstalenhag.se/bilder/varselklotet.jpg',
'http://www.simonstalenhag.se/bilder/maltemann.jpg',
'http://www.simonstalenhag.se/bilder/stormtappar.jpg',
'http://www.simonstalenhag.se/bilder/bona.jpg',
'http://www.simonstalenhag.se/bilder/gangmaskin.jpg',
'http://www.simonstalenhag.se/bilder/magnetbagge.jpg',
'http://www.simonstalenhag.se/bilder/lokskeppet3.jpg',
'http://www.simonstalenhag.se/bilder/bojmodul.jpg'
],
$('.container'),
$('.sub-container')
);
});
</script>
</body>
</html>