Page 1 of 1

pop up windows mode change when clicking on next button

Posted: 07 Dec 2009, 20:47
by hcourcelles
Hi,

I'm experiencing a strange problem in Phoca Gallery.

I've set the Detail WIndow view setting to JAK Lightbox.

When I navigate on the first page of the Phoca Gallery on the web site and click a photo the lightbox appears without any problem. If I close the lightbox and go on to a second page of the gallery with the "Next" hyperlink ("suivant" in french language) the image are now displayed in a normal window and not in a lightbox anymore.

If I then go back to the "First" page the lightbox display normally again.

Why is the lightbox working on the first page of the gallery but not on the second page of the gallery?

The web site is http://www.lagaleriebeaugrand.com

The Phoca gallery is in the section "Les oeuvres".

Thanks for your help.

Re: pop up windows mode change when clicking on next button

Posted: 08 Dec 2009, 21:15
by hcourcelles
Here is what I have found so far.

On page two, there is an error in IE that says that a "}" is missing.

I displayed and saved the source code of my gallery first page to a txt file. I did the same with the second page. I then compare them with "Beyond compare" and this is what I have found in the txt source code at the end of the txt file.

This is the line of source code at the end of page one of the Gallery:

</html> isplay="";this.dom.next.style.display="";thi

This is the line of source code at the end of page two of the Gallery:

</html> te=function(index){if(!this.options.continuous){t

FYI: If you look at the source code from the browser this cannot be seen. I've seen it only when I saved the source code to a txt file.

Do you have any ideas why this code is at the end of the html page? Is the "this.options.continuous" is generated from Phoca Gallery?

Thanks for telling me if you can help me with this.

Re: pop up windows mode change when clicking on next button

Posted: 09 Dec 2009, 17:54
by Jan
Hi, maybe this is related to apostrophes used in name or description. This was fixed in version 2.6.0 Which version you are running?

Re: pop up windows mode change when clicking on next button

Posted: 09 Dec 2009, 18:01
by hcourcelles
Hi,

It probably was the problem.

Yesterday I went on Phoca site and saw there was a new version of Phoca so I installed it and the problem was gone.

In french we use a lot of apostrophies.

Thanks for your reply. :twisted:

Re: pop up windows mode change when clicking on next button

Posted: 10 Dec 2009, 16:12
by Jan
Ok