You are here

README.txt in jQuery Auto Height 7

Same filename and directory in other branches
  1. 8 README.txt
  2. 7.2 README.txt
INTRODUCTION
------------

This module integrates the 'jQuery AutoHeight' plugin by monocult - https://github.com/monocult. It dynamically adjust column heights, matching the biggest column in each Row.

FEATURES
--------

'jQuery AutoHeight' plugin is:

  - Lightweight

  - Responsive

  - Customizable

REQUIREMENTS
------------

Libraries API module - 2.x

jQuery Update module - preferably jQuery 2.x or higher

'jQuery AutoHeight' plugin - https://raw.githubusercontent.com/monocult/jquery-autoheight/master/jquery.autoheight.js

INSTALLATION
------------

1. Download 'jQuery Auto Height' module archive - https://www.drupal.org/project/auto_height

2. Extract and place it in the modules directory i.e. sites/all/modules/auto_height

3. Create a libraries directory , if not already there i.e. sites/all/libraries

4. Create a autoheight directory inside it i.e. sites/all/libraries/autoheight

5. Download 'jQuery AutoHeight' plugin - https://raw.githubusercontent.com/monocult/jquery-autoheight/master/jquery.autoheight.js

6. Place it in the sites/all/libraries/autoheight directory i.e. sites/all/libraries/autoheight/jquery.autoheight.js

7. Now, enable 'jQuery Auto Height' module

USAGE
-----

Lets try to understand its usage with an example. 

Here, there are 2 rows having 2 and 4 columns respectively. Varying content will make these columns to have different heights in each row.

<div id="Row1">
  <div>There are many patterns..</div>
  <div>Lorem Ipsum is simply dummy text of the printing and typesetting..</div>
</div>

<div id="Row2">
  <div>The standard chunk of Lorem Ipsum..</div>
  <div>Cicero are also reproduced in their exact original form, accompanied by English versions..</div>
  <div>All the Lorem Ipsum generators on the Internet tend to..</div>
  <div>The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic..</div>
</div>

This is where 'jQuery Auto Height' module comes into the picture. 

How does it Work?
=============

1. Just assign same class to all columns in a Row as below.

<div id="Row1">
  <div class="box1">There are many patterns..</div>
  <div class="box1">Lorem Ipsum is simply dummy text of the printing and typesetting..</div>
</div>

<div id="Row2">
  <div class="box2">The standard chunk of Lorem Ipsum..</div>
  <div class="box2">Cicero are also reproduced in their exact original form, accompanied by English versions..</div>
  <div class="box2">All the Lorem Ipsum generators on the Internet tend to..</div>
  <div class="box2">The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic..</div>
</div>

2. Now, go to the module's configuration page: /admin/config/media/auto_height

3. Here, add the respective jQuery class selectors from STEP 1 (each one in a new line).

e.g.,

.box1
.box2

4. Save configuration. That's it!

'jQuery Auto Height' module will now dynamically adjust column heights, matching the biggest column in each Row.

MAINTAINERS
-----------

Current maintainer:

 * Binu Varghese - https://www.drupal.org/u/binu-varghese

DEMO
-----

https://rawgit.com/monocult/jquery-autoheight/master/demo.html

File

README.txt
View source
  1. INTRODUCTION
  2. ------------
  3. This module integrates the 'jQuery AutoHeight' plugin by monocult - https://github.com/monocult. It dynamically adjust column heights, matching the biggest column in each Row.
  4. FEATURES
  5. --------
  6. 'jQuery AutoHeight' plugin is:
  7. - Lightweight
  8. - Responsive
  9. - Customizable
  10. REQUIREMENTS
  11. ------------
  12. Libraries API module - 2.x
  13. jQuery Update module - preferably jQuery 2.x or higher
  14. 'jQuery AutoHeight' plugin - https://raw.githubusercontent.com/monocult/jquery-autoheight/master/jquery.autoheight.js
  15. INSTALLATION
  16. ------------
  17. 1. Download 'jQuery Auto Height' module archive - https://www.drupal.org/project/auto_height
  18. 2. Extract and place it in the modules directory i.e. sites/all/modules/auto_height
  19. 3. Create a libraries directory , if not already there i.e. sites/all/libraries
  20. 4. Create a autoheight directory inside it i.e. sites/all/libraries/autoheight
  21. 5. Download 'jQuery AutoHeight' plugin - https://raw.githubusercontent.com/monocult/jquery-autoheight/master/jquery.autoheight.js
  22. 6. Place it in the sites/all/libraries/autoheight directory i.e. sites/all/libraries/autoheight/jquery.autoheight.js
  23. 7. Now, enable 'jQuery Auto Height' module
  24. USAGE
  25. -----
  26. Lets try to understand its usage with an example.
  27. Here, there are 2 rows having 2 and 4 columns respectively. Varying content will make these columns to have different heights in each row.
  28. There are many patterns..
  29. Lorem Ipsum is simply dummy text of the printing and typesetting..
  • The standard chunk of Lorem Ipsum..
  • Cicero are also reproduced in their exact original form, accompanied by English versions..
  • All the Lorem Ipsum generators on the Internet tend to..
  • The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic..
  • This is where 'jQuery Auto Height' module comes into the picture.
  • How does it Work?
  • =============
  • 1. Just assign same class to all columns in a Row as below.
  • There are many patterns..
  • Lorem Ipsum is simply dummy text of the printing and typesetting..