Skip to content
This repository was archived by the owner on Feb 17, 2023. It is now read-only.

Commit 1fe4829

Browse files
committed
extended demo-markup
1 parent dc58cad commit 1fe4829

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

index.html

+12-8
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,32 @@
2020
<div id="meh"></div>
2121
<h1>Responsive Lightbox written in plain JavaScript</h1>
2222
<ul class="u-list">
23-
<li>No jQuery needed</li>
24-
<li>Fully responsive</li>
25-
<li>Customizable</li>
26-
<li>Small in Size (< 5Kb)</li>
27-
<li>IE8+ Support coming</li>
23+
<li><h4>No jQuery needed</h4></li>
24+
<li><h4>Fully responsive</h4></li>
25+
<li><h4>Customizable</h4></li>
26+
<li><h4>Lightweight (< 5Kb)</h4></li>
27+
<li><h4>IE8+ supported</h4></li>
28+
<li><a href="" class="btn">Download minified version</a></li>
29+
<li><a href="" class="btn">Download developer version</a></li>
30+
<li><a href="" class="btn">Download minified version with examples</a></li>
31+
<li><a href="https://github.com/felixhagspiel/jsOnlyLightbox" class="btn">View on Github</a></li>
2832
</ul>
2933
</div>
3034
<div class="section">
31-
<h2>Use bigsized pictures for thumbnail and lightbox</h2>
35+
<h2>Use bigsized pictures for both thumbnail and lightbox</h2>
3236
<img class="jslghtbx-thmb" src="img/lightbox/1.jpg" alt="" data-jslghtbx>
3337
<img class="jslghtbx-thmb" src="img/lightbox/2.jpg" alt="" data-jslghtbx>
3438
</div>
3539
<div class="section">
36-
<h2>Using small thumbnails and big lightbox-pictures</h2>
40+
<h2>Using smallsized pictures for thumbnails and bigsized pictures for lightbox-pictures to reduce traffic</h2>
3741
<img class="jslghtbx-thmb" src="img/lightbox/3-small.jpg" alt="" data-jslghtbx="img/lightbox/3-big.jpg">
3842
<img class="jslghtbx-thmb" src="img/lightbox/4-small.jpg" alt="" data-jslghtbx="img/lightbox/4-big.jpg">
3943
</div>
4044

4145
<script src="js/lightbox.js" type="text/javascript"></script>
4246
<script>
4347
var lightbox = new Lightbox();
44-
lightbox.load();
48+
lightbox.load({hideCloseBtn:true});
4549
</script>
4650
</body>
4751
</html>

0 commit comments

Comments
 (0)