Cześć, mam taki prosty skrypt w JS. Ma ładnie pisać tekst jak normalnie z klawiatury, ale coś nie styka. :P
<html>
<head>
<link rel="Stylesheet" type="text/css" href="style.css" />
<title>Tytuł strony</title>
<meta name="Description" content="Tu podaj opis twojej strony" />
<meta name="Keywords" content="wyraz1, wyraz2, wyraz3..." />
<script>
var array = ["H","E","L","L","O","."];
function typing(){
for(i=0;i>=5;i++){
setInterval(function(){document.getElementById('typing').innerHTML+=array[i];},200)
}
}
</script>
</head>
<body onload="typing();">
<header>
<p class="pheader" id="typing">
</p>
</header>
Nie ma żadnych błędów, nie wiem gdzie leży problem.