Add show / hide (read more) style display functionality to any container
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
lib
jquery.showMore.js
readme.md

readme.md

jQuery Show More Plugin

Add show / hide (read more) style display functionality to any container.

Todo

  • Describe API for programmatically interacting with the show, hide, toggle and update actions
  • Add feature for "Show Once", where content displays then the button is removed, remaining open
  • Allow further customisation of button HTML template options to allow better styling hooks
  • Demo the variable content handling for scenarios where the container content is dynamic
  • Add more use case demos for alternative content and containers (eg. images, iframe)