Page 1 of 1
Menu over JAK Lightbox
Posted: 20 Oct 2009, 15:24
by bife
hi jan, please look at this error
im using MediaMogul template and it uses MooMenu and suckerfish
in both cases the menu is on the images and the lightbox
you have no idea that something can be done to resolve this?
Thank Jan
Re: Menu over JAK Lightbox
Posted: 22 Oct 2009, 03:28
by bife
i think
I read that this can be caused by incompatibility between mootools and lightbox
is there any way to fix this?
Re: Menu over JAK Lightbox
Posted: 23 Oct 2009, 21:54
by Jan
Hi, yes or maybe there can be some z-index problem. Try to test it with some standard template. For now I don't know any solution as the JAK should be tested for all possible situations, try to check the template too.
Jan
Re: Menu over JAK Lightbox
Posted: 10 Nov 2009, 22:16
by Jan
Hi, you can find the code here:
components\com_phocagallery\assets\js\jak\window_compressed.js
SZN.cEl("div",false,"window-container",{"position":"relative","zIndex":10});
Jan
Re: Menu over JAK Lightbox
Posted: 25 Mar 2010, 01:02
by cjmicro
I have the same problem and fixing it in the windowcompressed.js did not help either.
However I noticed the zIndex in js and in that window style was 10. So I made the header and menu (which is what was hiding the slideshow) 9.
If I made them lower (like 1) i had problems with my menu being hidden.
So header and main nav are 9 and apparently the phoca jak window is 10 and all is well (at least with FF 3.6 and IE
Hope this helps anyone having similar issues.
Cheryl
PS Thank you for Phoca Gallery, one of my favorite components!
Re: Menu over JAK Lightbox
Posted: 05 Oct 2010, 15:18
by radzioszok
Hi!
This is my first post but I hope it should help somebody.
I have similar issue so I try to modify zIndex value in lightbox_compressed.js and window_compressed.js but those changes did not work. So I try to search for in other files and found administrator\components\com_phocagallery\libraries\phocagallery\renderer\rendererfront.php file.
At the line 469 (in version 2.7.5) is some javascript template:
Code: Select all
$js = "\t". '<script language="javascript" type="text/javascript">'."\n"
.'var '.$name.' = {'
.'galleryClassName: \'lightBox\','
.'zIndex: 10,'
.'useShadow: true,'
.'imagePath: \''.JURI::base(true).'/components/com_phocagallery/assets/js/jak/img/shadow-\','
.'usePageShader: true,'
.'components: {';
So here is this small zIndex bustard:)
Value of 10 is too small for my site so I have changed it to 1000. I think this is common problem and it should be fixed in next phocagallery version.
Re: Menu over JAK Lightbox
Posted: 08 Oct 2010, 13:54
by Jan
Hi, thank you for this guide,
see:
https://www.phoca.cz/documents/50-phoca/ ... al-advices (3)
to get info, why it is very difficult to set some value as default.
Jan
Re: Menu over JAK Lightbox
Posted: 24 Jun 2011, 13:26
by andyheer
Thank you!

Re: Menu over JAK Lightbox
Posted: 24 Nov 2011, 17:27
by daimon45
z-index:1000 doesn't work on my site so i made it z-index:2000 and it works.
thank you... you great...
radzioszok wrote:Hi!
This is my first post but I hope it should help somebody.
I have similar issue so I try to modify zIndex value in lightbox_compressed.js and window_compressed.js but those changes did not work. So I try to search for in other files and found administrator\components\com_phocagallery\libraries\phocagallery\renderer\rendererfront.php file.
At the line 469 (in version 2.7.5) is some javascript template:
Code: Select all
$js = "\t". '<script language="javascript" type="text/javascript">'."\n"
.'var '.$name.' = {'
.'galleryClassName: \'lightBox\','
.'zIndex: 10,'
.'useShadow: true,'
.'imagePath: \''.JURI::base(true).'/components/com_phocagallery/assets/js/jak/img/shadow-\','
.'usePageShader: true,'
.'components: {';
So here is this small zIndex bustard:)
Value of 10 is too small for my site so I have changed it to 1000. I think this is common problem and it should be fixed in next phocagallery version.