Some galleries on 1 page is not working
Posted: 01 Jul 2012, 15:27
Hello!
When I try make two or more galleries on one page (but in different materials), plugins of popup windows (Highslide JS and JAK) come into conflict with each other, images not zoom and galleries (except for the first) not works. I use only Highslide or Jak because only these plugins can display image description.
After analyze source code of my page I saw one interesting thing: Phoca Gallery creates that block and puts it into the head section.
This is a configuration of the gallery, but just for one. But I use three galleries. See next:
As we can see, Phoca Gallery creates one and only configuration block (even I use three galleries) and on the block with image's lists for each gallery. Postfix of the configuration block is RIM2da7c0ac (var optgjaksModPhocaGalleryRIM2da7c0ac), one of the blocks of image's list have very same postfix - RIM2da7c0ac (var dataJakJsModPhocaGalleryRIM2da7c0ac).
I think what that problem occurred because two galleries out of three not configured. Where I can edit Phoca's code to fix it, and how I can fix it? Help me please in that problem.
Thanks.
When I try make two or more galleries on one page (but in different materials), plugins of popup windows (Highslide JS and JAK) come into conflict with each other, images not zoom and galleries (except for the first) not works. I use only Highslide or Jak because only these plugins can display image description.
After analyze source code of my page I saw one interesting thing: Phoca Gallery creates that block and puts it into the head section.
Code: Select all
var optgjaksModPhocaGalleryRIM2da7c0ac = {galleryClassName: 'lightBox',
...options and configuration...
}}
Code: Select all
var dataJakJsModPhocaGalleryRIM2da7c0ac = [{alt: 'alt text',description: 'Description is here ',small:'some url'
...urls to images...
}}
var dataJakJsModPhocaGalleryRIM1ebf31da = [{alt: 'more images',description:' '
...urls to images...
}}
var dataJakJsModPhocaGalleryRIM6f84f46f = [{alt: 'third gallery',description:' '
...urls to images...
}}
I think what that problem occurred because two galleries out of three not configured. Where I can edit Phoca's code to fix it, and how I can fix it? Help me please in that problem.
Thanks.