Just a quick update. I solved #2 by changing: $(':minmax').minmax();
To: $(':minmax').minmax(); $(window).resize(function() { $(':minmax').minmax(); }); So now if I resize the window down, the min-width is enforced. Unfortunately, resizing it back up doesn't seem to let min-width get "unenforced." (Allowing the width to raise itself back up from the minimum value.) -Jason Levine >>> "Jason Levine" <[EMAIL PROTECTED]> 08/18/06 10:28 AM >>> Hi Dave, Great looking plugin. And just what I needed for a project today. I ran into two minor issues though. 1. If you have a min-width defined in a CSS file (assigned by class), and not inline it doesn't seem to work. (Not sure if there's a fix for this.) 2. If the element is wider than the min-width but the user then resizes their browser window, the min-width value isn't enforced. (Perhaps add an onresize function?) Otherwise, a great plugin. Thanks! -Jason Levine >>> Dave Cardwell <[EMAIL PROTECTED]> 08/16/06 7:25 PM >>> John Resig wrote: > This is nice Dave, I like the test that you did to see if min-width > works. One quick point: You should mention, explicitly, that you don't > need to run $.minmax.expressions(), since it's already run on document > ready. Other than that, looks great :-) Thanks for the feedback, John. I've updated the page at http://davecardwell.co.uk/geekery/javascript/jquery/jqminmax/ and hopefully the wording will make the use of $.minmax.expressions() a bit clearer. Best wishes, Dave Cardwell ~ http://davecardwell.co.uk/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/