shutUp.js

#shutUp.js

Minimized html text jQuery subtractive

shutUp.js is crops in the specified text characters for required length. Basic javascript ellipsis tools.

substr is not good

Usage

<script>
$(function(){
	$('selector').shutUp(length,{options});
});
</script>

Options

var default ={
	'dotChar':'.',
	'dotCount':3
}
var exampleOptions = {
	'dotChar':'_',
	'dotCount':1
}
$("selector").shutUp(100,exampleOptions);

There are better, but this is me....