<option>輕舟已過萬重山 <<< 字句可加可減,首句留空是作間隔之用
setTimeout("rotate()",2000); 2000之值越大越慢,可隨意更改
如不能顯示語法效果可貼去本站語法測試板試看
<form name="menuform"><center><select size="1" name="msg">
<option>
<option>朝辭白帝彩雲間
<option>千里江陵一日還
<option>兩岸猿聲啼不住
<option>輕舟已過萬重山
</select></center></form>
<script language="javascript">
<!-- Begin
function rotate() {
menu = document.menuform.msg;
chosen = menu.selectedIndex;
menu.selectedIndex= (chosen == (menu.length-1)) ? 0 : chosen + 1;
setTimeout("rotate()",2000);
}
rotate();
-->
</script>
歡迎光臨 笨笨網站超級論壇 (http://www.bunbunhk.com/BBS/Discuz/) | Powered by Discuz! 6.0.0 |