- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
function t()
{
setTimeout('document.getElementById("qwezxc").innerHTML+="H"',1000)
setTimeout('document.getElementById("qwezxc").innerHTML+="e"',2000)
setTimeout('document.getElementById("qwezxc").innerHTML+="l"',3000)
setTimeout('document.getElementById("qwezxc").innerHTML+="l"',4000)
setTimeout('document.getElementById("qwezxc").innerHTML+="o"',5000)
setTimeout('document.getElementById("qwezxc").innerHTML+=","',6000)
setTimeout('document.getElementById("qwezxc").innerHTML+="W"',7000)
setTimeout('document.getElementById("qwezxc").innerHTML+="o"',8000)
setTimeout('document.getElementById("qwezxc").innerHTML+="r"',9000)
setTimeout('document.getElementById("qwezxc").innerHTML+="l"',10000)
setTimeout('document.getElementById("qwezxc").innerHTML+="d"',11000)
}
Функция для посимвольного вывода надписи «Hello word» (каждая буква выводится с интервалом в одну секунду).
Найдено на www.html.by.
1) А про циклы им рассказать забыли?
2) что за "qwezxc"?
2) Это такой id элемента у них )))
http://un.by/images/logo_undp_ru.gif