摘要:
Intervals 1 var num = 0; 2 var max = 10; 3 4 function incrementNumber(){ 5 num++; 6 7 // if the max has not been reached, set another timeout ... 阅读全文
posted @ 2015-05-19 22:02
林大勇
阅读(146)
评论(0)
推荐(0)
摘要:
IE, Safari, Opera, and Chrome all provide screenLeft and screenTop properties that indicate the window's location in relation to the left and top of... 阅读全文
posted @ 2015-05-19 17:10
林大勇
阅读(583)
评论(0)
推荐(0)
摘要:
If a page contains frames, each frame has its own window object and is stored in the frames collection. Within the frames collection, the window obj... 阅读全文
posted @ 2015-05-19 16:56
林大勇
阅读(178)
评论(0)
推荐(0)
摘要:
At the core of the BOM is the window object, which represents an instance of the browser. The window object serves a dual purpose in browsers, actin... 阅读全文
posted @ 2015-05-19 15:34
林大勇
阅读(156)
评论(0)
推荐(0)
摘要:
Any variable defined inside a function is considered private since it is inaccessable outside that function. This includes function arguments, local... 阅读全文
posted @ 2015-05-19 11:23
林大勇
阅读(339)
评论(0)
推荐(0)