Adding scrollbars to detail popup window?

Phoca Gallery - image gallery extension
zangolin
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 20 Apr 2008, 00:27

Hi.how can I a

Post by zangolin »

Hi.
how can I add scrollbars to the detail popup window?
My images are 700px high so on smaller screens don't display properly + also nav butons are obscured.

Any solutions gratefully accepted.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Hi,compo

Post by Jan »

Hi,

components\com_phocagallery\views\detail\view.html.php

on row 105 +- remove:

overflow:hidden;

Jan
If you find Phoca extensions useful, please support the project
zangolin
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 20 Apr 2008, 00:27

Thanks Jan

Post by zangolin »

Thanks Jan

Deleted overflow:hidden from were you suggested but still had no effect.
Re-booted Wamp server cleared cache etc but still no scrollbars appearing. Tested in IE, FFX, Opera + Safari. Any other ideas? do I have to specify scrollbars to be shown?

cheers
tim
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

If you use standard

Post by Jan »

If you use standard popup window, you must change the following code too:

components\com_phocagallery\views\category\view.html.php
row 177 +
Add the 'scrollbars=yes':

$button->set('options', "window.open(this.href,'win2','width=".$front_popup_wind
ow_width.",
height=".$front_popup_window_height.",
scrollbars=yes,menubar=no,resizable=yes'); return false;");
If you find Phoca extensions useful, please support the project
zangolin
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 20 Apr 2008, 00:27

Thanks Jan. That las

Post by zangolin »

Thanks Jan. That last reply did the trick.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

...

Post by Jan »

If you find Phoca extensions useful, please support the project
Post Reply