Page 1 of 1
picture on the right
Posted: 21 Jul 2009, 09:14
by doryshe
hi there
I installed the phoca gallery on my joomla website this the hebrew translation. when I click the image, it opens in large image on the right of the screen?
how can i fix it to open it in the middle of the screen?
Re: picture on the right
Posted: 21 Jul 2009, 09:59
by caro84g
Hi,
are you using IE6?
Regards, Carolien
Re: picture on the right
Posted: 21 Jul 2009, 10:47
by doryshe
no, I am using explorer 7
Re: picture on the right
Posted: 21 Jul 2009, 19:09
by Jan
Hi, check your template (is it is standard template, if you don't know try to test it with e.g. rhuk_milkyway), see this post too:
https://www.phoca.cz/documents/2-phoca-g ... thumbnails
Jan
Re: picture on the right
Posted: 25 Jul 2009, 07:59
by doryshe
I install 2.5. I tried to replace the code with the new code but without success.
this is the original code.
what should be the the code after the change?
Code: Select all
function renderCategoryCSS($font_color, $background_color, $border_color, $imageBgCSS, $border_color_hover, $background_color_hover, $ol_fg_color, $ol_bg_color, $ol_tf_color, $ol_cf_color, $margin_box, $padding_box, $opacity = 0.8) {
$opacityPer = (float)$opacity * 100;
$tag = "<style type=\"text/css\">\n"
." #phocagallery .phocaname {color: $font_color ;}\n"
." .phocagallery-box-file {background: $background_color ; border:1px solid $border_color;margin: ".$margin_box."px;padding: ".$padding_box."px;}\n"
." .phocagallery-box-file-first { $imageBgCSS }\n"
." .phocagallery-box-file:hover, .phocagallery-box-file.hover {border:1px solid $border_color_hover ; background: $background_color_hover ;}\n"
/*
." .ol-foreground { background-color: $ol_fg_color ;}\n"
." .ol-background { background-color: $ol_bg_color ;}\n"
." .ol-textfont { font-family: Arial, sans-serif; font-size: 10px; color: $ol_tf_color ;}"
." .ol-captionfont {font-family: Arial, sans-serif; font-size: 12px; color: $ol_cf_color ; font-weight: bold;}"*/
. ".bgPhocaClass{
background:".$ol_bg_color.";
filter:alpha(opacity=".$opacityPer.");
opacity: ".$opacity.";
-moz-opacity:".$opacity.";
z-index:1000;
}
.fgPhocaClass{
background:".$ol_fg_color.";
filter:alpha(opacity=100);
opacity: 1;
-moz-opacity:1;
z-index:1000;
}
.fontPhocaClass{
color:".$ol_tf_color.";
z-index:1001;
}
.capfontPhocaClass, .capfontclosePhocaClass{
color:".$ol_cf_color.";
font-weight:bold;
z-index:1001;
}"
." </style>\n";
return $tag;
}