This is a Lightbox Script. So-Called ‘Lightbox’, is a script used to display large images using modal dialogs, that gained widespread popularity due to its simple yet elegant style and easy implementation.
In order to make the script work, the index-#.html file with a slider should contain these lines of HTML code:
The script.js file contains these lines of code that initialize the script functionality with basic values.
Below you can see the HTML script representation:
The src parameter of the <img> tag defines the path to the image that is output in the darkbox.
You can find script related stylesheet in the main style.css file. You will need to modify the following styles: