Dynamic Content Height

Dynamic Content Height
Dynamic Content Height

This plugin checks content height and compare it with your max-height. If content height is higher then your max-height, a show more button will appear.

Features

  • custom text for show more/less button
  • options via plugin or data-attributes

Install

include src/dynamic-content.js and src/dynamic-content.css and call the plugin $(’.dynamic-selector’).dynamicContentHeight();

Dynamic Content Height

average based on 1 ratings.
High Resolution No
Compatible Browsers Firefox, Safari, Opera, Chrome, Edge
Files Included JavaScript JS, HTML
Software Version jQuery
Created

9 years ago

Tags dynamic content, max height content