[contact-form-7 id="24078" title="Feedback EN"]

“DarkBox” Lightbox

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.

JavaScript
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.

HTML
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.

CSS
You can find script related stylesheet in the main style.css file. You will need to modify the following styles:

"DarkBox" Lightbox, 4.0 out of 5 based on 2 ratings