Categories

“DarkBox” Lightbox

Template-help.com Team November 15, 2010
Rating: 5.0/5. From 1 vote.
Please wait...

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:

This entry was posted in Lightbox and tagged jQuery. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket