Saturday, August 29, 2009

[jQuery] Re: JqModal

Stephan,
For positioning adjust "margin-left" to be half of your new width.
For example if you set your width to 800px, then the entry for
"margin-left" should be:
magrin-left:-400px;


Regards,
Lyubov

On Sat, Aug 29, 2009 at 12:11 PM, Steffan A. Cline <steffan@hldns.com> wrote:

Using the very basic jqModal example, isn't it supposed to auto size and
auto center the modal on the page? I placed a table that was wider than the
modal's default settings and it's off the page and does not create scroll
bars on the page to see the hidden section of the modal.

The default class is

.jqmWindow {
   display: none;
   position: fixed;
   top: 17%;
   left: 50%;

   margin-left: -300px;
   width: 600px;
   background-color: #EEE;
   color: #333;
   border: 1px solid black;
   padding: 12px;
}

Now, I know I can change the width of the modal but what about the
positioning?




Thanks

Steffan

---------------------------------------------------------------
T E L  6 0 2 . 7 9 3 . 0 0 1 4 | F A X  6 0 2 . 9 7 1 . 1 6 9 4
Steffan A. Cline
Steffan@ExecuChoice.net                             Phoenix, Az
http://www.ExecuChoice.net                                  USA
AIM : SteffanC          ICQ : 57234309
YAHOO : Steffan_Cline   MSN : steffan@hldns.com
GOOGLE: Steffan.Cline             Lasso Partner Alliance Member
---------------------------------------------------------------




No comments: