<script type="text/javascript" src="jquery-1.9.1.js"></script>
<div class="zxx_text_overflow_5">SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL </div>
<script type="text/javascript">
$(document).ready(function(){
$(".zxx_text_overflow_5").each(function()
{ var maxwidth=5;
if($(this).text().length>maxwidth){
$(this).text($(this).text().substring(0,maxwidth));
$(this).html($(this).html()+'...');
}
});
});
</script>
<div class="zxx_text_overflow_5">SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL SNL </div>
<script type="text/javascript">
$(document).ready(function(){
$(".zxx_text_overflow_5").each(function()
{ var maxwidth=5;
if($(this).text().length>maxwidth){
$(this).text($(this).text().substring(0,maxwidth));
$(this).html($(this).html()+'...');
}
});
});
</script>