<div class="codetitle"> <span><a style="CURSOR: pointer" data="96770" class="copybut" id="copybut96770" onclick="doCopy('code96770')"><u>Copier le code</u></a></span> Le code est le suivant :</div> <div class="codebody" id="code96770"> <br><script type="text/javascript"> <br> var zfl={}; <br>zfl.GetLength = function(str){ <br>var realLength = 0,len = str.length,charCode = -1; i<len ;i ){ <BR>charCode = str.charCodeAt(i); <BR>if(charCode>0 && charCode<=128) realLength =1; <br>else realLength = 2 <br>else realLength; = 2; <br>else realLength = 2; <br><script type="text/javascript"> <br> <br> <br>L'effet est le suivant : <br> </div>