if( !sky.containers ) sky.containers =
{
Window : function()
{
this.element = document.createElement("div");
this.element.modal = false;
this.element.height = 240;
this.element.draggable = true;
this.element.resizable = true;
this.element.position = "center";
this.element.width = 240;
this.element.target = document.body;
this.element.title ="";
this.element.headerHeight = 30;;
this.element.effects = {};
this.element.show = function()
return this.element;
}}
在这种情况下,关键字 THIS 是什么?“sky.containers”或“Window”?什么是 ELEMENT,如果没有变量定义这个名称?