A simple plugin that shortens elements to a specified height and expands them on hover
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
jQuery.hoverHeight.js

README.md

jQuery hoverHeight Plugin

jQuery.hoverHeight is a plugin that shortens elements to a specified height and expands them on hover

Usage

Include it in your HTML after importing jQuery, like: <script type="text/JavaScript" src="./js/libs/jquery.hoverHeight.js" />

Use it like:

$(".my-class").hoverHeight(/*height*/);

You can pass in the height, either as a parameter or with the data-height attribute and can be in any format that jQuery accepts.

License

CC-BY.


Like our work? Hire us!