-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.html
37 lines (34 loc) · 1.17 KB
/
demo.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<title>Load More! ~ jQuery plugin</title>
<link rel="stylesheet" href="css/framework.min.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container" id="wrap">
<h1 class="page-title">Load More!</h1>
<h3 class="page-subtitle">Simple and lightweight jQuery plugin that downloads remote content by AJAX on scroll or on button click.</h3>
<section class="main-content">
<div class="files list-view" id="posts">
<!-- The dynamic content is loaded here -->
</div>
</section>
<div id="loading">
<img src="img/loader.gif" alt="loader">
</div>
<div id="load-more">
Load More...
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="js/load-more.jquery.js"></script>
<script>
$('#load-more').loadMore({
requestUrl: 'backend/objects.php?page='
});
</script>
</body>
</html>