Glightbox
Overview Official Website
Glightbox is a touchable Pure Javascript lightbox with images and video support.
CSS
<!-- glightbox css -->
<link rel="stylesheet" href="/assets/libs/glightbox/css/glightbox.min.css">
Javascript
<!-- glightbox js -->
<script src="/assets/libs/glightbox/js/glightbox.min.js"></script>
Initjs (Custom js)
<!-- gallary init -->
<script src="/assets/js/pages/gallery.init.js"></script>
Add Package
npm i glightbox --save
Remove Package
npm uninstall glightbox For you can removing specific package from package.json
Examples
Title | Javascript |
---|---|
Demo |
|