ReadMore.js Documentation

This is a lightweight yet powerful JavaScript plugin designed for convenient management of large text blocks on web pages. It allows you to easily create expandable text sections with intuitive «Read More» and «Close» buttons, making it an ideal solution for enhancing readability and saving space on both mobile and desktop devices.

Note
  • The script is independent of other libraries (e.g., jQuery).
  • Content displayed with Readmore.js is fully accessible to search engines, as the HTML structure remains unchanged.

Easy Implementation

Easily integrates into any webpage without requiring third-party libraries. You can quickly connect it to your project and configure it with simple code.

Customization

Offers extensive customization options for appearance and behavior. You can set the expanded and collapsed height, animation speed, and even replace button text with your own.

Responsiveness

Responsive and can be activated only at a specific screen width, providing optimal content display management on various devices.

Accessibility

All content is always accessible to search engines, contributing to the SEO optimization of your site.

License

Readmore.js is distributed under the MIT license.

You are free to use this script in both commercial and non-commercial projects, provided that the license notice is preserved. This means that you must keep my name, a link to my homepage, and license information unchanged. None of this has to be visible to the user and can remain in the code.

Browser Support

Google Chrome

Chrome 7.0+

Chrome 90+

Microsoft Edge

Edge

Edge 90+

Mozilla Firefox

Firefox 4.0+

Firefox 89+

Safari

Safari 5.1.4+

Safari 14+

Opera

Opera 12.0+

Opera 76+