We’re rewarding the question askers & reputations are being recalculated! Read more.

New answers tagged

0

This little JavaScript code might help you var textSpeed = 50; var textHolder = document.getElementById('id'); var sound = new Audio(...); var timer = setInterval(function(){ textHolder.innerHTML += string[i]; if(string[i]!=' '){ //if space sound doesnt play sound.pause(); sound.currentTime = 0; sound.play(); } i++; if(i>=string....


0

For anyone else stumbling on this in the future, the only solution I found is to stop the text from scrolling(leaving a empty-space for the scroll-box where moving it will have no effect anymore), which I think is what Daniel_1985 alluded too in his comment. The only way to circumvent the scroll-box empty-space issue(That I have found), is by having it ...


Top 50 recent answers are included