Would it be possible to use the wrap method to wrap the content in a secondary div on callback, which would be styled to your specifications? I think if you try to change the layout properties of the jqModal div itself it will cause problems like what you're seeing.

-- Josh


----- Original Message ----- From: "Sean O" <[EMAIL PROTECTED]>
To: <jquery-en@googlegroups.com>
Sent: Friday, August 31, 2007 12:32 PM
Subject: [jQuery] jqModal content overflowing -- scrollbars?




Hi,


First off, Brice, great work on jqModal.  It's the just-about-perfect
solution to my AJAX popup window that can interact easily with the calling
page.

I have one question on how to size the window with content constraints...

I'm using it to call up a directory and display a list of files, one per
line. Some of the directories can get pretty big: 100-200 files (lines) or
more.  The jqModal window stretches to the bottom of the screen, but does
not scroll within itself.  Scrolling the parent has the jqModal simply
bouncing down to stay fixed within the viewport.

I tried setting the height manually:
<div id="folderwindow" class="jqmWindow" style="width: 400px; height:
260px"></div>

This "worked" in FF2, but the content spilled out onto the overlay below.
In IE6, it just ignored the height declaration and drew the window to the
bottom of the viewport, but additional content was still hidden below.

So - how can I have a fixed width & height jqModal window that adds a
vertical scrollbar to accommodate content that might overflow those bounds?
(and works in IE6+ & FF2 :)


Thanks,

_________
SEAN O
http://www.sean-o.com
--
View this message in context: http://www.nabble.com/jqModal-content-overflowing----scrollbars--tf4362025s15494.html#a12432679
Sent from the JQuery mailing list archive at Nabble.com.


Reply via email to