[jQuery] Re: Need a jQuery 'equal height columns' script

2009-04-03 Thread sammahoney
Apparently, this is how the script I have works - I guess it's possible to do the same thing with jQuery? The script accepts a list of elements, then creates an array of their heights + top position. It then needs to sort that array numerically using the sortNumeric() function and then will set

[jQuery] Re: Need a jQuery 'equal height columns' script

2009-04-02 Thread Jack Killpatrick
http://www.cssnewbie.com/equalheights-jquery-plugin/ http://www.tomdeater.com/jquery/equalize_columns/ - Jack sammahoney wrote: Hi All I have an old script for equalizing columns. Can't remember where I got it, but I need something similar in jQuery - I've found a few so far, but they all

[jQuery] Re: Need a jQuery 'equal height columns' script

2009-04-02 Thread sammahoney
Thanks for the reply, but unfortunately neither of them are what I need - I've already tested both. They both only work if the elements to be equalized are starting on the same row. These two scripts work by basically finding the height of the tallest column, then applying it to the shorter

[jQuery] Re: Need a jQuery 'equal height columns' script

2009-04-02 Thread sammahoney
Here's how my example looks without any script, just so you can see. I need to go from this - http://jsbin.com/eguze - to this - http://jsbin.com/ofehi On Apr 2, 7:11 pm, sammahoney samom...@gmail.com wrote: Thanks for the reply, but unfortunately neither of them are what I need - I've already

[jQuery] Re: Need a jQuery 'equal height columns' script

2009-04-02 Thread Jack Killpatrick
Ah, I see. Sorry, I hadn't looked at the jsbin link. I don't know of a plugin to do something like that, but if your outer container's height is specified you could use jquery's .outerHeight({margin:true}) to get the height of the DOM nodes above the last one, then subtract that from the

[jQuery] Re: Need a jQuery 'equal height columns' script

2009-04-02 Thread sammahoney
Well, I found the original, so here it is - http://v3.thewatchmakerproject.com/journal/354/equalising-box-baselines-with-javascript Anyone know of anything similar for jQuery?