jquery-ellipsis V1.0
A simple omit the extra text plugin...
##Usage
Including it on your page:
<script type="text/javascript" src="jquery-ellipsis-1.0.min.js"></script>Let's start with the basic markup:
<p class="text_ellipsis">Smile to life whatever and whenever.</p>And your JavaScript should look like this:
$(function () { $(".text_ellipsis").ellipsis({"maxLength": 30}); })##Options
$('.text_ellipsis').ellipsis({ // the maximum text length and beyond will be replaced with ellipses maxLength: 30, // whether to open the prompt, the default open state, the value is true openTip: false });##Dependencies To start using ellipsis.js, you will need the following: