Page 1 of 1

How to always show the scrollbar in detail view?

Posted: 25 Apr 2012, 19:29
by cryptbear
Where can I change the configuration in Phoca Gallery that it always show me the vertical scrollbar?
My website has a overflow-y:scroll; CSS tag and when I open a detailed view of a picture, the vertical scrollbar disappears.
It's an annoying effect, because the layout jumps horizontally.


I tried to change in .../views/detail/view.html.php the value:

$oH = 'overflow:hidden';

to

$oH ='';

but nothing happens.

I also tried to find the lines which are explained in FAQ, but I didn't find them...

<?php

// FROM
." html,body, .contentpane{overflow:hidden;background:".
$detail_window_background_color.";} \n"

// TO
." html,body .contentpane{background:".$detail_window_background_color
.";} \n"
?>

Thanks in advance!

Ciaooo!

Re: How to always show the scrollbar in detail view?

Posted: 26 Apr 2012, 20:26
by Jan
Hi, did you do it on right place, checked without any problem :idea:

Maybe try to check, if some other css does not include some attributes which can change it :idea:

Jan

Re: How to always show the scrollbar in detail view?

Posted: 27 Apr 2012, 02:20
by cryptbear
The issue only appears with Modalbox or with Standard Popup Window. The other detail viewer like Lightbox, Slimbox, Highslide JS are ok and show the vertical scrollbar of the website... And it only disappears if the content of the website doesn't need to be scrolled...

Re: How to always show the scrollbar in detail view?

Posted: 30 Apr 2012, 16:28
by Jan
Hi, there are two different methods, in image methods, scrollbars are never used:
https://www.phoca.cz/documents/50-phoca/ ... al-advices (8)