[jQuery] Re: How to know when body height causes a scrollbar to appear

2009-02-19 Thread djl
I suppose another way around this could be to maybe use a plugin similar to: (function($){ $.fn.elemheight = function(options) { var defaults = { element: 'body', }; var options = $.extend(defaults, options);

[jQuery] Re: How to know when body height causes a scrollbar to appear

2009-02-19 Thread djl
Brian, I just found this post: http://www.west-wind.com/Weblog/posts/453942.aspx It might be of some use to you? Cheers, djl On 19 Feb 2009, at 12:53, brian wrote: You could go at it in another way, actually, by forcing a scrollbar to always be present: body { height: 100.1%; } O

[jQuery] Re: How to know when body height causes a scrollbar to appear

2009-02-19 Thread brian
You could go at it in another way, actually, by forcing a scrollbar to always be present: body { height: 100.1%; } On Thu, Feb 19, 2009 at 2:29 AM, Kim Christensen wrote: > > Hey list, > > I'm looking for a way to let my application know when the body height > has changed to exceed the viewport