Lines Matching refs:_element

885     clean:function(_element){
887 _element.update("");
1309 highlight:function(_element,_clear,_event){
1311 if(_element.firebugElement){
1318 d.inspector.inspect(_element,true);
1321 inspect:function(_element){
1328 parent = _element;
1366 d.html.current = [_element, link];
1374 navigate:function(_index,_element){
1382 openHtmlTree:function(_element,_parent,_returnParentElementByElement,_event){
1384 var element = _element || internal.targetWindow.document.documentElement,
1402 d.html.current = [_element,nodeLink];
1508 inspect:function(_element,_bgInspector){
1510 var pos = internal.targetWindow.firebug.lib.util.Element.getPosition(_element);
1513 "width":_element.offsetWidth+"px", "height":_element.offsetHeight+"px",
1519 d.inspector.el = _element;
2030 AddEvent: function(_element,_eventName,_fn,_useCapture){
2031 _element[pi.env.ie?"attachEvent":"addEventListener"]((pi.env.ie?"on":"")+_eventName,_fn,_useCapture||false);
2032 return pi.util.Curry(pi.util.AddEvent,this,_element);
2034 RemoveEvent: function(_element,_eventName,_fn,_useCapture){
2035 _element[pi.env.ie?"detachEvent":"removeEventListener"]((pi.env.ie?"on":"")+_eventName,_fn,_useCapture||false);
2036 return pi.util.Curry(pi.util.RemoveEvent,this,_element);
2039 addClass:function(_element,_class){
2040 if( !pi.util.Element.hasClass(_element,_class) )
2041 pi.util.Element.setClass(_element, pi.util.Element.getClass(_element) + " " + _class );
2043 getClass:function(_element){
2044 return _element.getAttribute(pi.env.ie&&!pi.env.ie8?"className":"class")||"";
2046 hasClass:function(_element,_class){
2047 return pi.util.Array.indexOf(pi.util.Element.getClass(_element).split(" "),_class)>-1;
2049 removeClass:function(_element,_class){
2050 if( pi.util.Element.hasClass(_element,_class) ){
2051 var names = pi.util.Element.getClass(_element,_class).split(" ");
2053 _element,
2058 setClass:function(_element,_value){
2060 _element.setAttribute("className", _value );
2061 _element.setAttribute("class", _value );
2063 _element.setAttribute(pi.env.ie?"className":"class", _value );
2080 setOpacity:function(_element,_value){
2082 return pi.util.Element.addStyle(_element,{ "opacity":_value });
2084 pi.util.Element.addStyle(_element,{ "filter":"alpha(opacity="+_value+")" });
2087 getPosition:function(_element){
2088 var parent = _element,offsetLeft = document.body.offsetLeft, offsetTop = document.body.offsetTop, view = pi.util.Element.getView(_element);
2096 "clientLeft":_element.clientLeft,
2097 "clientTop":_element.clientTop,
2109 getSize:function(_element){
2110 var view = pi.util.Element.getView(_element);
2113 "clientHeight":_element.clientHeight,
2114 "clientWidth":_element.clientWidth,
2115 "offsetHeight":_element.offsetHeight,
2116 "offsetWidth":_element.offsetWidth,
2120 addStyle:function(_element,_style){
2124 pi.util.Element.setOpacity(_element,_style[key]);
2128 _element.style[key] = _style[key];
2132 getStyle:function(_element,_property){
2135 return pi.util.Element.getOpacity(_element.style);
2136 return typeof _property=="string"?_element.style[_property]:_element.style;
2138 getValue:function(_element){
2139 switch(_element.nodeName.toLowerCase()){
2142 return _element.value;
2144 return _element.options[_element.selectedIndex].value;
2146 return _element.innerHTML;
2150 getView:function(_element,_property){
2151 var view = document.defaultView?document.defaultView.getComputedStyle(_element,null):_element.currentStyle;
2154 return pi.util.Element.getOpacity(_element,view);
2309 "insert":function(_element){
2310 _element = _element.environment?_element.environment.getElement():_element;
2311 _element.appendChild(this.environment.getElement());
2398 "addAfter":function(_element,_referenceElement){
2400 _element.environment?_element.environment.getElement():_element,
2405 "addBefore":function(_element,_referenceElement){
2407 _element.environment?_element.environment.getElement():_element,
2412 "remove":function(_element){
2413 this._parent_.environment.getElement().removeChild(_element.environment?_element.environment.getElement():_element);
2417 "_element":null,