語法說明:

1.在 if (position !=300) 中修改捲軸捲動的距離

<!--自動捲軸_開始-->
<script language="JavaScript">
<!--
var position = 0;
function scroller() {
 if (position !=300) {
  position++; parent.scroll(100,position);clearTimeout(timer);
  var timer = setTimeout("scroller()",0); timer;
   }
}
-->
</script>
<body onload="scroller()">
<!--自動捲軸_結束-->

arrow
arrow
    全站熱搜

    nicole 發表在 痞客邦 留言(0) 人氣()