HTML
HEAD
META http-equiv='Content-Type' content='text/html; charset=gb2312'
TITLE会自动逐行上升的文本框/TITLE
SCRIPT LANGUAGE="JavaScript"
!-- Begin
function selectScroller(n) {
optlist = document.scrollform.scroller;
optlist[optlist.length] = new Option(optlist[0].text, "", false, false);
optlist[0] = null;
optlist.selectedIndex = -1;
n = (n + 1) % optlist.length;
// change the speed below: 1000 = 1 second.
setTimeout("selectScroller("+n+")",2000);
}
// End --
/script[ 查看全文 ]