I want to truncate a text or line with DOTS using JavaScript but that start and end of string is visible (like dropbox.com does)
<p>I would like to truncate a text or line with DOTS using JavaScript <strong>but</strong> I need to display the end (filename after slash) and start. Something like dropbox.com does on their website. </p>

<p>I'm looking for jQuery extension or something similar. </p>
