HTML
Download the plug-in's JavaScript file from the download page and add it to your application's HTML code.
Just before the end of the <body> tag:
<script src="fslightbox.js"></script>
Download the plug-in's JavaScript file from the download page and add it to your application's HTML code.
Just before the end of the <body> tag:
<script src="fslightbox.js"></script>
You can alternatively install the plug-in with your preferred package manager:
$ npm install fslightbox
# or using yarn
$ yarn add fslightbox
Include it in your application's JavaScript file.
For example, using the Node.js' "require" function:
require("fslightbox");