text-overflow-ellipsis.js

Has attribute data-lines="2". We have a lot of text here, but we want it to overflow correctly. We want to cut off the text at a specific line using the "data-lines='xx'" attribute, so we have the option of 1 to however many lines of text desired. Also added in a specific "view more" link that animates the full text in on click, sliding down or back up depending on if it is open or not already. Now I'm just adding in more text, la di dadi.
View More

Suspendisse sollicitudin elit at nulla elementum, eu facilisis nulla iaculis. Suspendisse et aliquet dolor. Sed aliquam scelerisque posuere. Proin ante lectus, iaculis a nisi ac, maximus eleifend magna. Donec lobortis, magna id molestie porttitor, sapien ante viverra sapien, sed ultricies odio felis eget nibh. Praesent ut gravida libero. Phasellus a accumsan nibh. Pellentesque diam lacus, tincidunt in ornare aliquet, efficitur in erat. Suspendisse at orci pellentesque ante tempor rhoncus vitae a libero. In pellentesque tellus auctor quam condimentum, non dignissim lectus ullamcorper. Vestibulum ullamcorper, ligula sed auctor scelerisque, est nunc eleifend felis, vel molestie neque ex nec diam. Aenean aliquet rutrum sagittis. Integer et nisi sollicitudin nibh placerat accumsan. Maecenas mollis risus a varius sagittis. Integer tristique lacus tristique, egestas ex ac, varius turpis.
View More