jQuery Plugin To Equalize Heights Of Multiple Elements - AutoHeight

File Size: 5.59 KB
Views Total: 433
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
jQuery Plugin To Equalize Heights Of Multiple Elements - AutoHeight

AutoHeight is a jQuery equal height layout plugin which sets the height of all matching elements to the tallest one. Helps in responsive designs when elements have the different height. The plugin will auto refresh when window resizes.

How to use it:

1. Include both jQuery JavaScript library and the jQuery autoheight plugin's script on the webpage.

<script src="//code.jquery.com/jquery.min.js"></script>
<script src="jquery.autoheight.js"></script>

2. Just call the function on the selected element and the plugin will take care of the rest.

$('.box').AutoHeight()

This awesome jQuery plugin is developed by monocult. For more Advanced Usages, please check the demo page or visit the official website.