aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/picwall.html
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2015-03-04 23:27:28 +0100
committernodiscc <nodiscc@gmail.com>2015-03-04 23:27:28 +0100
commit0e5400e6178468cd0da0b266123545db2a80f707 (patch)
treef13db75997d25db1cee52da3bd985259863e165b /tpl/picwall.html
parent7572cfbe9620b13569ee47337f7015bcad119332 (diff)
parent34047d23fb5e09b6bc2728f0f8827eaa038f02ea (diff)
downloadShaarli-0e5400e6178468cd0da0b266123545db2a80f707.tar.gz
Shaarli-0e5400e6178468cd0da0b266123545db2a80f707.tar.zst
Shaarli-0e5400e6178468cd0da0b266123545db2a80f707.zip
Merge pull request #132 from ArthurHoaro/picwall
Lazy load images with the light lib bLazy.js instead of jQuery
Diffstat (limited to 'tpl/picwall.html')
-rw-r--r--tpl/picwall.html12
1 files changed, 2 insertions, 10 deletions
diff --git a/tpl/picwall.html b/tpl/picwall.html
index d3cabb2d..ea1ef420 100644
--- a/tpl/picwall.html
+++ b/tpl/picwall.html
@@ -1,11 +1,7 @@
1<!DOCTYPE html> 1<!DOCTYPE html>
2<html> 2<html>
3<head>{include="includes"} 3<head>{include="includes"}
4{if="empty($GLOBALS['disablejquery'])"} 4<script src="inc/blazy-1.3.1.min.js#"></script>
5<script src="inc/jquery-1.11.2.min.js#"></script>
6<script src="inc/jquery-ui-1.11.2.min.js#"></script>
7<script src="inc/jquery.lazyload-1.9.3.min.js#"></script>
8{/if}
9</head> 5</head>
10<body> 6<body>
11<div id="pageheader">{include="page.header"}</div> 7<div id="pageheader">{include="page.header"}</div>
@@ -20,12 +16,8 @@
20</div> 16</div>
21{include="page.footer"} 17{include="page.footer"}
22 18
23{if="empty($GLOBALS['disablejquery'])"}
24<script> 19<script>
25$(document).ready(function() { 20 var bLazy = new Blazy();
26 $("img.lazyimage").show().lazyload();
27});
28</script> 21</script>
29{/if}
30</body> 22</body>
31</html> \ No newline at end of file 23</html> \ No newline at end of file