脚本说明:
第一步:把如下代码加入
function animate() {
// click next radio button
document.animation.lamps[current].click()
// if radio button is the last one reset variable to 0 (otherwise increment)
current = (current == document.animation.lamps.length - 1) ? 0 : ++current
// recursive call after speed milliseconds
timerID = setTimeout("animate()", speed)
}
// -->
第二步:把
中的内容改为