You are here

function equalheights_help in Equal Heights jQuery 7.2

Same name and namespace in other branches
  1. 6 equalheights.module \equalheights_help()
  2. 7 equalheights.module \equalheights_help()

Implements hook_help().

File

./equalheights.module, line 18
Adds a jQuery plugin that sets the elements you specify to the same height.

Code

function equalheights_help($path = '', $arg = NULL) {
  $output = '';
  switch ($path) {
    case 'admin/help#equalheights':
    case 'admin/config/development/equalheights':
      $output = '<p>' . t("Implements a jQuery plugin that makes the height of the elements equal.") . '</p>';
      $output .= t("Add elements or CSS classes that you need to be of equal height (with a leading period ('.') ) . <br />");
      $output .= t('Note: you can combine multiple selectors, i.e. "header, .wrapper".');
      $output .= t('You can optionally set minimum and maximum height, overflow value.&nbsp;');
      $output .= t('(<a href="@about">Read more about the plugin.</a>) ', array(
        '@about' => 'http://www.cssnewbie.com/equalheights-jquery-plugin/',
      ));
      break;
  }
  return $output;
}