Skip to Main Content

Expand & Collapse Text Blocks Easily with Readmore.js

Posted on 7.17.2013

Internet professionals are quickly learning that, despite the trend toward “minimalist” Web design the past decade or so, there’s still a need – and sometimes a demand - for content – sometimes, lots of it.

A balance needs to be achieved between the visual and the functional of course and you’ll find it with Readmore.js, an extremely lightweight jQuery plugin for collapsing and expanding large and long blocks of text with “Read More” and “Close’ links.

Designers can control the speed (how quickly the text appears – in milliseconds) as well as the displayed height. If elements have a max-height CSS property, the Readmore.js plugin will use that value instead of the value of the maxHeight option.

Leave Your Comment

Login to Comment

Become a Member

Not already a part of our community?
Sign up to participate in the discussion. It's free and quick.

Sign Up

 

Leave a comment
    Load more comments
    New code

  • 5 Next-Generation Supplier Strategies

    Tipalti