摘要:
<script language"javascript"> var currentpos,timer; function initialize() { timer=setInterval("scrollwindow()",10); } function sc(){ clearInterval(timer); } function scrollwindow() { currentpos=document.body.scrollTop; window.scroll(0,++currentpos); if (currentpos != docume 阅读全文
posted @ 2011-12-06 12:46
jamsewang
阅读(462)
评论(0)
推荐(0)
摘要:
1.document.write(""); 输出语句2.JS中的注释为//3.传统的HTML文档顺序是:document->html->(head,body)4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,document)5.得到表单中元素的名称和值:document.getElementById("表单中元素的ID号").name(或value)6.一个小写转大写的JS: document.getElementById("output"). 阅读全文
posted @ 2011-12-06 12:13
jamsewang
阅读(284)
评论(0)
推荐(0)
浙公网安备 33010602011771号