نسخ رمز رمز على النحو التالي:
<!
"http://www.w3.org/tr/html4/loose.dtd">
<html>
<head>
<meta http-equiv = "content-type" content = "text/html ؛ charset = gb2312">
<title> الاسم </title>
<script language = "javaScript" type = "text/javaScript">
حالة 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 ') ؛
وظيفة getName () {
اسم الإرجاع [Math.floor (Math.Random ()*name.length)] ؛
}
وظيفة dishowAme () {
document.getElementByid ("الاسم").
setTimeout ("downame" ، 200) ؛
}
وظيفة goname () {
intimer = setInterval (downame ، 200) ؛
}
وظيفة stopName () {
if (الحالة == 1) {{
ClearInterval (intimer) ؛
الحالة = 0 ؛
} آخر {
intimer = setInterval (downame ، 200) ؛
الحالة = 1 ؛
}
}
</script>
<style>
#اسم {{
الحدود: 1 بكسل الصلبة #000 ؛
الهامش: السيارات ؛
حجم الخط: 36 بكسل ؛
اللون:#000000 ؛
العرض: 108px ؛
الارتفاع: 1EM ؛
المؤشر: مؤشر.
محاذاة النص: المركز ؛
}
</style>
</head>
<body only = "goname ()">
<div id = "name" onClight = "StopName ()"> </viv>
</body>
</html>