2 Replies Latest reply on Jan 25, 2013 6:48 AM by christophe.noel

    No browser scroll with big modal panel

    fkj

      I have an application that shows images from database in a modal window using Lightbox JS. I'm porting it to RichFaces modal panel. I need that the modal panel have the size of the image. The autosized attribute solved it, but when the image is bigger than the available screen resoluton, no scroll bars are shown on the browser.

      Please access at http://www.huddletogether.com/projects/lightbox/, reduce the browser window considerably and click on image #2. Thats the behavior I need.

      I know it's possible to set overflow:auto for the panel, but I would have to set a fixed size for it, which is not desired.

      I've tested with Firefox 3 and IE 6.

      Thanks for any help,
      Felipe