Nic727 Posted December 10, 2015 Share Posted December 10, 2015 Hi, I don't know why, but I never had problems with lightbox before, but now it doesn't seem to work. Maybe I'm doing something wrong, but I don't know what. So I put that in my <head> <!-- LIGHTBOX --> <link href="../styles/lightbox.css" rel="stylesheet" /> <script src="../js/jquery-1.11.0.min.js"></script> <script src="../js/lightbox.min.js"></script> <script src="../js/lightbox-plus-jquery.min.js"></script> and in my body <a href="../images/brauronTemple_04.jpg" data-lightbox="image-1"> <img class="imgarch" src="../images/image02.jpg" alt="colonnes" > </a> The only thing it does is that it change page when I click on the image. Thank you Link to comment Share on other sites More sharing options...
Nic727 Posted December 10, 2015 Author Share Posted December 10, 2015 Nevermind, I just put <script src="../js/lightbox-plus-jquery.min.js"></script> at the bottom of the page. Don't know why the JQuery need to be at the bottom of the page instead of in the head. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now