js定时
var name_list = new Array( "张三","李四","王五");
var length = name_list.length;
var Intervalid = setInterval("demo()",500);
function demo()
{
if(length<0)
{
length = name_list.length;
//clearInterval(Intervalid); //取消定时
}
$("#demo_show").html(name_list[length]);
length--;
}