code.progysm.com

window

Objet de hiérarchie supérieure (objet global).
Chaque frame/iframe sera accessible via son nom comme une propriété de window. window === window.frames

Propriétés:
+ window.addEventListener(string eventType, function callback[, boolean b])
+ alert()
+ clearTimeout(x : Number)
+ close()
+ confirm(message : String) : Boolean
- RETIRÉ : defaultstatus
- document
- frames : Window // itself
- history : History
- innerHeight : Number
  // COMPAT[IE<9] : window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;
- innerWidth : Number
  // COMPAT[IE<9] : window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
- location : Location
- length : Number
- window.localStorage : Storage
- name : String
- navigator : Navigator
- onload : null|Function
- onunload : null|Function
- parent : Window
+ prompt(message : String) : null|String
+ window.requestAnimationFrame(Function function, Number timems) : Number
- self : Window
- window.sessionStorage : Storage
+ window.setTimeout(Function|String function, Number timems) : Number
+ window.setInterval(Function|String function, Number timems) : Number
- status : String
- statusBar : BarProp
- top : Window
- window : Window

Navigateurs:
	Internet Explorer:
		window.msRequestAnimationFrame

	Opera:
		window.oRequestAnimationFrame

	Mozilla:
		window.mozRequestAnimationFrame

	Webkit:
		window.webkitRequestAnimationFrame