My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 353: Need an "unresizing modal"
4 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Nov 2009


 
Reported by fmott...@gmail.com, Oct 9, 2009
I have a nyroModal filled with ajax content, and I want it to keep its
original size (specified in the width/height nyroModal settings) when the
browser window is reduced/maximized. Is it possible ? I found out that this
is managed in the calculateSize() function, but maybe there is a simple
parameter for this purpose ? 

Thx, sorry for the poor english...
Flo


Oct 9, 2009
Project Member #1 nyro...@gmail.com
In the next release, I will add a new setting "windowResize" to enable or disable
this feature.

In the meantime, you could manually disabled it by using a callback like:
$.nyroModalSettings({
  endFillContent: function(elts, content) {
    $(window).unbind('resize.nyroModal');
  }
});
Status: Accepted
Oct 10, 2009
#2 fmott...@gmail.com
Merci beaucoup Cédric, et félicitations pour ton plug et le support, c'est la classe !
Flo (Tours)
Oct 15, 2009
Project Member #3 nyro...@gmail.com
 Issue 357  has been merged into this issue.
Nov 8, 2009
Project Member #4 nyro...@gmail.com
the version 1.5.4 is now released and add the windowResize setting
Status: Fixed

Powered by Google Project Hosting