Copiar código del código de la siguiente manera:
<!
"http://www.w3.org/tr/html4/loose.dtd">
<html>
<Evista>
<meta http-oquiv = "content-type" content = "text/html; charset = gb2312">
<title> nombre </title>
<script language = "javaScript" type = "text/javaScript">
estado var = 1;
Var name = New Array ('Fan Peng', 'Zhang Zihan', 'Dai Tianming', 'Sun Ji', 'Sun Lei', 'Wang Hongyi', 'Zeng Fan Ding', 'Li Huan', 'Zhu Ying ',' Wang Sha ',' Zheng Linlin ',' Zhu Zhen's Family ',' Jin yi ',' li Chenglong ',' Gou Chao ',' wu tong ',' liang liang ',' liu jun ');
función getName () {
Nombre de retorno [Math.floor (Math.random ()*name.length)];
}
function showeame () {
document.getElementById ("Nombre").
setTimeout ("Showeame", 200);
}
Función goname () {
intimer = setInterval (showeame, 200);
}
function stopName () {
if (status == 1) {{
ClearInterval (intimer);
Estado = 0;
} Demás {
intimer = setInterval (showeame, 200);
Estado = 1;
}
}
</script>
<Estilo>
#Nombre {{
borde: 1px Solid #000;
margen: auto;
tamaño de fuente: 36px;
Color:#000000;
Ancho: 108px;
Altura: 1em;
cursor: puntero;
Text-Align: Center;
}
</style>
</ablo>
<cuerpo solo = "goname ()">
<div id = "name" onClight = "stopName ()"> </div>
</body>
</html>