Dear Steven,
I'm sorry but I have encountered a new problem I hope you can help me to solve.
As I said the solution you wrote me works perfectly, as you can see in this page: http://www.picnicspot.it/portfolio/crossroads/ clicking on “View gallery.
Here it works, but from the main page of the portfolio http://www.picnicspot.it/portfolio/, if you click in the Crossroads gallery, and then again on the button “View gallery” – which is the same button, same code, as in the portfolio post page here above – the browser opens a new tab but not a lightbox.
I guess this is happening because the link for that portfolio gallery is loaded via AJAX. It is maybe because a Javascript lightbox function like this will only run on initial page load, but at that point the gallery link doesn’t exist. It loads onto the page later via AJAX. I think that some modifications are needed in order that Juicebox can work after this initial page load, but I don't know which code to add, nor where.
If it would work all my problems would be solved, and I could stick directly to Juicebox pro to manage all my galleries.
If you can help suggesting me a solution it would be mostly appreciated,
thank you very much for your attention and sorry for this further question...
my best regards
Lorenzo