楼主页面里面的这段代码有什么作用啊?
<SCRIPT language=javascript> var CurrentHotScreen = 0 ; function setHotQueryList(screen){ var Vmotion = "forward" ; var MaxScreen = 7 ; if (screen >= MaxScreen) { screen = 0 ; Vmotion = "reverse" ; } cleanallstyle(); document.getElementById("focus_"+screen).className = "up" ; if(null!=hot_query_td.filters){ hot_query_td.filters[0].apply(); hot_query_td.filters[0].motion = Vmotion; } for (i=0;i<MaxScreen;i++) { document.getElementById("switch_"+i).style.display = "none" ; } document.getElementById("switch_"+screen).style.display = "block" ; if(null!=hot_query_td.filters){ hot_query_td.filters[0].play(); } CurrentHotScreen = screen ; } function refreshHotQuery(){ refreshHotQueryTimer = null; setHotQueryList(CurrentHotScreen+1); refreshHotQueryTimer = setTimeout('refreshHotQuery();', 5000); } </SCRIPT>
|