Menu over JAK Lightbox

Phoca Gallery - image gallery extension
bife
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 20 Oct 2009, 15:17

Menu over JAK Lightbox

Post by bife »

hi jan, please look at this error

Image

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
bife
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 20 Oct 2009, 15:17

Re: Menu over JAK Lightbox

Post by bife »

i think
I read that this can be caused by incompatibility between mootools and lightbox

is there any way to fix this?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Menu over JAK Lightbox

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Menu over JAK Lightbox

Post 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
If you find Phoca extensions useful, please support the project
cjmicro
Phoca Member
Phoca Member
Posts: 12
Joined: 20 Jul 2009, 00:49

Re: Menu over JAK Lightbox

Post 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 8)

Hope this helps anyone having similar issues.

Cheryl

PS Thank you for Phoca Gallery, one of my favorite components!
radzioszok
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 05 Oct 2010, 14:47

Re: Menu over JAK Lightbox

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Menu over JAK Lightbox

Post 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
If you find Phoca extensions useful, please support the project
andyheer
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 24 Jun 2011, 13:07

Re: Menu over JAK Lightbox

Post by andyheer »

Thank you! :|
daimon45
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 22 Nov 2011, 16:52

Re: Menu over JAK Lightbox

Post 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.
Post Reply