Lines Matching defs:parentElement

45 str+="<div class='Selector'>}</div>";return str;}},refresh:function(){with(firebug){el.button.css.selectbox.update("");var collection=internal.targetWindow.document.styleSheets;for(var i=0,len=collection.length;i<len;i++){var uri=getFileName(collection[i].href);d.css.index=d.css.index<0?i:d.css.index;el.button.css.selectbox.child.add(new lib.element("OPTION").attribute.set("value",i).update(uri))};d.css.open(d.css.index);}}},dom:{open:function(_object,_layer){with(firebug){_layer.clean();var container=new lib.element("DIV").attribute.addClass("DOMContent").insert(_layer);d.dom.print(_object,container);}},print:function(_object,_parent,_inTree){with(firebug){var obj=_object||window,parentElement=_parent;parentElement.update("");if(parentElement.opened&&parentElement!=el.left.dom.container){parentElement.environment.getParent().lib.child.get()[0].lib.child.get()[0].lib.attribute.removeClass("Opened");parentElement.opened=false;parentElement.environment.addStyle({"display":"none"});return;}
47 parentElement.environment.getParent().lib.child.get()[0].lib.child.get()[0].lib.attribute.addClass("Opened");parentElement.opened=true;for(var key in obj){try{if(env.hideDOMFunctions&&typeof(obj[key])=="function")continue;var value=obj[key],property=key,container=new lib.element("DIV").attribute.addClass("DOMRow").insert(parentElement),left=new lib.element("DIV").attribute.addClass("DOMRowLeft").insert(container),right=new lib.element("DIV").attribute.addClass("DOMRowRight").insert(container);container.child.add(new lib.element("DIV").attribute.addClass('Clear'));var link=new lib.element("A").attribute.addClass(typeof value=="object"&&Boolean(value)?"Property Object":"Property").update(property).insert(left);right.update(d.highlight(value,false,true));var subContainer=new lib.element("DIV").attribute.addClass("DOMRowSubContainer").insert(container);if(typeof value!="object"||Boolean(value)==false)
49 parentElement.environment.addStyle({"display":"block"});}}},highlight:function(_value,_inObject,_inArray,_link){with(firebug){var isArray=false,isHash,isElement=false,vtype=typeof _value,result=[];if(vtype=="object"){if(Object.prototype.toString.call(_value)==="[object Date]"){vtype="date";}else if(Object.prototype.toString.call(_value)==="[object String]"){vtype="string";}else if(Object.prototype.toString.call(_value)==="[object Boolean]"){vtype="boolean";}else if(Object.prototype.toString.call(_value)==="[object RegExp]"){vtype="regexp";}}