Lightbox break out
Out of context: Reply #6
- Started
- Last post
- 11 Responses
- d_gitale0
if I understand you right:
this link should be moved to the main page (the one holding the div)<a href="album1/image01.jpg" data-lightbox="group" data-
title="caption">[01]</a>but obviously not in its current form, but inside some javascript function which I then have to call with a link from the page that is loaded into the div...
And this javascript function should also receive some variables to generate the url of the image it is supposed to open in the overlay / lightbox, otherwise I would have to create a separate function for each image.the initial calling of the script also has to be in the <head> of the main page (the one holding the div):
<script src="js/jquery-1.11.0.min.js"></script>
<script src="js/lightbox.min.js"></script>theoretically I think I understand... but practically I need to learn javascript first, at least the basics.