Code

Dynamic Content Height

Dynamic Content Height

Cart 27 sales

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();
by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey