摘要: setTimeout(fn, milliseconds): 设定时间后调用函数fn, 返回值用于clearTineout()取消定时setInterval(fn, milliseconds): 按照间隔毫秒定时调用fn, 返回值用于clearInterval()取消周期定时window.location === document.location 属性, 方法:href: 当前页面完整url, location.toString()返回此值protocol: 使用的协议host, hostname: ://和端口之间的内容port: 端口号pathname: 当前目录www.... 阅读全文
posted @ 2013-10-20 20:08 我的百科全书 阅读(232) 评论(0) 推荐(0) 编辑