textualizer icon indicating copy to clipboard operation
textualizer copied to clipboard

blurb get mixed up when changing data

Open croudet opened this issue 13 years ago • 0 comments

When I try to change data, some character of the previous batch get mixed up with the new one. Tested on firefox 14 and chrome 20.

     var list = ['This should provide', 'A lovely rendering experience', 'Try me out!'];
      var txtlizer = $('#txtlizer');
      txtlizer.textualizer(list, {
      effect: 'random',
      duration: 2000,
      rearrangeDuration: 200
      });
      txtlizer.textualizer('start');

      var f = function() {
          console.log('change data');
          var list = ['A second batch', 'Of text to textualize', 'This should be nice as well!'];
          var txtlizer = $('#txtlizer'); 
          txtlizer.textualizer('data', list);
          txtlizer.textualizer('start');
      };
      setTimeout(f, 20000);

croudet avatar Jul 25 '12 19:07 croudet