Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Web-Comic-Reader
Commits
55246a00
Commit
55246a00
authored
Apr 21, 2017
by
afzafri
Browse files
enable the lightGallery Zoom feature
parent
47a2c4b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
assets/js/script.js
View file @
55246a00
...
...
@@ -11,7 +11,8 @@ $(document).ready(function(){
event
.
preventDefault
();
// initialize gallery
$
(
'
#output
'
).
lightGallery
({
selector
:
'
a
'
selector
:
'
a
'
,
zoom
:
true
,
});
$
(
this
).
click
();
});
...
...
index.html
View file @
55246a00
...
...
@@ -20,6 +20,7 @@
<script
src=
"./assets/js/jquery-3.2.0.min.js"
></script>
<script
src=
"./assets/js/uncompress/uncompress.js"
></script>
<script
src=
"./assets/js/lightgallery.min.js"
></script>
<script
src=
"./assets/js/lg-zoom.min.js"
></script>
<script
src=
"./assets/js/script.js"
></script>
</body>
</html>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment