Written some script to give the effect of typing text but I want each character to fade in. Ive tried adding x.style.opacity and getting the element by Id but this changes the whole thing is there any way to target the individual characters? Here is my code:
var i = -1;
var string = "BREAKING NEWS "
var array = string.split("");
function Next(){
i++;
if(i > (array.length - 1)){
i = 0;
}
setTimeout('Slide()',50);
}
function Slide(){
x = document.getElementById('test')
x.innerHTML += array[i];
setTimeout('Next()',50);
}