<!DOCTYPE html PUBLIC "
<html xmlns="
<head>
<meta http
<title></title>
<script type="text/javascript">
var i =
var ary = new Array();
ary
ary
ary
ary
window
setInterval(function () {
if (i >
window
i++;
//如果是左右移動
}
};
</script>
</head>
<body>
</body>
</html>
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/19947.html