81.JS中的窗口滚动条:
window.scroll(x,y)
82.JS中的窗口滚动到位置:
window.scrollby
83.JS中设置时间间隔:
setInterval("expr",msecDelay)
或
setInterval(funcRef,msecDelay)
或
setTimeout
84.JS中的模态显示在IE4+行,在NN中不行:
showModalDialog("URL"[,arguments][,features]);
85.JS中的退出之前使用的句柄:
function verifyClose(){event.returnValue="we really like you and hope you will stay longer.";}} window.onbeforeunload=verifyClose;
86.当窗体第一次调用时使用的文件句柄:
onload()
87.当窗体关闭时调用的文件句柄:
onunload()
88.window.location的属性:
protocol(http:),hostname(www.aspxhome.com ),port(80),host(www.aspxhome.com:80),pathname("/a/a.html"),hash("#giantGizmo"
指跳转到相应的锚记),href(全部的信息)
89.window.location.reload()刷新当前页面.
90.window.history.back()返回上一页,window.history.forward()返回下一页, window.history.go(返回第几页,也可以使用访问过的URL)
请稍等,评论加载中...