Page 1 of 1

How to add scorl to Standart Popup Window?

Posted: 31 Jul 2008, 03:17
by pnjpr
Hi,

If anybody knows that, please tell me. I know it's not a problem for php master. I think a lot of peopel who use and loves phoca gallery it's makes live better.

So, If somebody have a laptop and resolution 1200x800, and I preparte thumbnail foto 1024x768 there is no posobility that he can see panel menu, (you know, next, froward, slideshow etc.).

But if we have a scorl in right side of Standart Popup Window. It will be awsome.

Please. Don't ignore my post. I try to find the answer but I didn't found.

Please don't tell me that I should make a smaller thumbnails.

Thaks for the mountain,

Maciej.

Re: How to add scorl to Standart Popup Window?

Posted: 31 Jul 2008, 10:24
by Jan
If you should not tell you that you should add a smaller modal box or standard popup box smaller, then there is no answer...

if you want to display image e.g.:

with some exact size, there is no such possibility to display the image smaller on some monitors... if you set e.g.:

image 1024x768
box 1024x900 (e.g. because of slideshow buttons) and somebody has a smaller monitor, there is no possibility e.g. to display the image 800x600 with 800x700 (becuase there is no such image)

Maybe there is some javascript solution which can do it, but I don't know it ... (btw ... using javascript for such things is very difficult and the outcome is mostly not the same we want ... :-( )


You can add the scroll if you change the css (see this forum, there should be the name of class)


Jan

Re: How to add scorl to Standart Popup Window?

Posted: 01 Aug 2008, 01:48
by pnjpr
Hi, thanks for reply.

I don't want to change size of image in Standart Popup Window in computers with smaller resolution.

If I have a thumbnail 1024x768 with panel = 1024x850 + size of menu start in widnows (for exalmple) 20.

So if somebody have resolution in laptop 1200 x 800 he see a picture without panel. width is OK, but problem is with height.

If I can add a scorl in Sandart Popoup Window than useres with similar resolution can see a picture and have a panel in the same time.

I don't care about users who has a resolution in width less than 1200, because I wan't to show my pictures in 1024 x 768 resolution.

As You write I try to find the name of this Class and I try to resolve this problem. Thanks for a hint, I am glad.

Maciek.

Re: How to add scorl to Standart Popup Window?

Posted: 02 Aug 2008, 00:02
by Jan

Re: How to add scorl to Standart Popup Window?

Posted: 05 Aug 2008, 01:30
by pnjpr
Thank you Jan, my mistake. I didn't chceck faq deeply. It looks exacly what I need.

I also have to delete 82 line in components / com_phocagallery / views / detail / view.html.php.

It works fine.

Is there any posibility to hide scroll when scroll is not need it? Now I have scroll all the time. I wan't to give scroll for people who has low resolution. It's not so important, if you don't have time don't care about it.

I try to change in views / detail / view.html.php in 82 line overflow:auto but it ain't works in Fire Fox I have scroll all the time.

One more time big thank you Jan.

Maciej.

Re: How to add scorl to Standart Popup Window?

Posted: 05 Aug 2008, 14:22
by Jan
no, there is no such solution... :(

Jan

Re: How to add scorl to Standart Popup Window?

Posted: 06 Aug 2008, 00:25
by pnjpr
Hi,

Ok, It's good to know that. Jan, You are great time saver.

Thanks, have a nice day.

Maciej.