[jQuery] Re: Get heights of multiple divs

2008-08-27 Thread Steven Black
In addition to what MorningZ has said, see the vjustify plugin: http://michael.futreal.com/jquery/vjustify The nugget there is to use the offsetHeight property, which factors-in margins, padding, etc. **--** Steve On Aug 27, 7:25 am, james_fairhurst <[EMAIL PROTECTED]> wrote: > Hoepfully a qu

[jQuery] Re: Get heights of multiple divs

2008-08-27 Thread james_fairhurst
Bah I'm such a tool, thanks the reply, its one of those days! J On Aug 27, 2:16 pm, MorningZ <[EMAIL PROTECTED]> wrote: > Right from the Docshttp://docs.jquery.com/Core/each > > "This means that every time the passed-in function is executed (which > is once for every element matched) the 'this'

[jQuery] Re: Get heights of multiple divs

2008-08-27 Thread MorningZ
Right from the Docs http://docs.jquery.com/Core/each "This means that every time the passed-in function is executed (which is once for every element matched) the 'this' keyword points to the specific DOM element" so it should be $('.box').each(function(){ console.log( $(this).height()