动态刷新处理
采用JS数组保存列表的ID
使用setTimeout来处理location重定向
var id = [1,2,3,4,5,6];
var i=0;
var speed = 5000;function ice()
{
data.location.href = "showData.asp?id="+id[i];
i++;
t = setTimeout( "ice()", speed);
}
function pause()
{
clearTimeout(t);
}
function start()
{
t = setTimeout( "ice()", speed );
}
//其中data为要显示数据的frame窗口
采用JS数组保存列表的ID
使用setTimeout来处理location重定向
var id = [1,2,3,4,5,6];
var i=0;
var speed = 5000;function ice()
{
data.location.href = "showData.asp?id="+id[i];
i++;
t = setTimeout( "ice()", speed);
}
function pause()
{
clearTimeout(t);
}
function start()
{
t = setTimeout( "ice()", speed );
}
//其中data为要显示数据的frame窗口
请问如果要相应的行取得焦点改变颜色并将滚动条滚动到这个位置怎么做?