Equal Height Columns

Overview

EqualHeightColumns is a simple jQuery Plugin, that you can use to design “Equal Height Columns” for your site. This plugin is so simple that even our moms will know how to use it :)

How to use

After you maid your HTML code for your columns and maid them float all you need to do is to point the EqualHeightColumns plugin at your column holder.

JavaScript that goes for inbetween your <head> tag.

1
2
3
4
5
<script type="text/javascript">
$(document).ready(function() {
$("#MainContainer").EqualHeightColumns($(".column"));
});
</script>

Your column set up could looks like this

1
2
3
4
5
<div id="MainContainer">;
<div class="column" id="columnLeft"></div>
<div class="column" id="columnMiddle"></div>
<div class="column" id="columnRight"></div>
</div>

As you can see all we need to tell

Demo

I maid a very simple demo where you can see how easy it is to make it work
Click here to see my demo

Download

Click here to download the latest version

Changelog

Version 2.0

Version 1.0

Comments

5 Responses to “Equal Height Columns”

  1. Srdjan on October 23rd, 2009 14:37

    Let me know what you think about this plugin :)

  2. Bo Dudek on November 1st, 2009 21:01

    Здрасти Срдйо!

    I’ve already used this plugin several times now, and I’ll be damned.. it actually works ;)

    Cheers

  3. Bo Dudek on November 6th, 2009 22:51

    Srdjo, you have like a kinda bug in this plugin. If you use it for a two-coloumn setup with left for menu and right for content. If you then set a padding on the right in order to make the content look nicer, your plugin is unable to calculate the appropiate height for the right side.

    Cheers

  4. Srdjan on November 8th, 2009 11:52

    Bo -> Can you show me an example with the issue ?

  5. Srdjan on December 9th, 2009 01:00

    Bo -> The padding issue is now fixed in v2.0 :) Thanks for your feedback

Leave a Reply




Get Adobe Flash playerPlugin by wpburn.com wordpress themes