Lines Matching refs:_element
874 clean:function(_element){
876 _element.update("");
1298 highlight:function(_element,_clear,_event){
1300 if(_element.firebugElement){
1307 d.inspector.inspect(_element,true);
1310 inspect:function(_element){
1317 parent = _element;
1355 d.html.current = [_element, link];
1363 navigate:function(_index,_element){
1371 openHtmlTree:function(_element,_parent,_returnParentElementByElement,_event){
1373 var element = _element || internal.targetWindow.document.documentElement,
1391 d.html.current = [_element,nodeLink];
1497 inspect:function(_element,_bgInspector){
1499 var pos = internal.targetWindow.firebug.lib.util.Element.getPosition(_element);
1502 "width":_element.offsetWidth+"px", "height":_element.offsetHeight+"px",
1508 d.inspector.el = _element;
2019 AddEvent: function(_element,_eventName,_fn,_useCapture){ argument
2020 …_element[pi.env.ie?"attachEvent":"addEventListener"]((pi.env.ie?"on":"")+_eventName,_fn,_useCaptur…
2021 return pi.util.Curry(pi.util.AddEvent,this,_element);
2023 RemoveEvent: function(_element,_eventName,_fn,_useCapture){ argument
2024 …_element[pi.env.ie?"detachEvent":"removeEventListener"]((pi.env.ie?"on":"")+_eventName,_fn,_useCap…
2025 return pi.util.Curry(pi.util.RemoveEvent,this,_element);
2028 addClass:function(_element,_class){ argument
2029 if( !pi.util.Element.hasClass(_element,_class) )
2030 pi.util.Element.setClass(_element, pi.util.Element.getClass(_element) + " " + _class );
2032 getClass:function(_element){ argument
2033 return _element.getAttribute(pi.env.ie&&!pi.env.ie8?"className":"class")||"";
2035 hasClass:function(_element,_class){ argument
2036 return pi.util.Array.indexOf(pi.util.Element.getClass(_element).split(" "),_class)>-1;
2038 removeClass:function(_element,_class){ argument
2039 if( pi.util.Element.hasClass(_element,_class) ){
2040 var names = pi.util.Element.getClass(_element,_class).split(" ");
2042 _element,
2047 setClass:function(_element,_value){ argument
2049 _element.setAttribute("className", _value );
2050 _element.setAttribute("class", _value );
2052 _element.setAttribute(pi.env.ie?"className":"class", _value );
2069 setOpacity:function(_element,_value){ argument
2071 return pi.util.Element.addStyle(_element,{ "opacity":_value });
2073 pi.util.Element.addStyle(_element,{ "filter":"alpha(opacity="+_value+")" });
2076 getPosition:function(_element){ argument
2077 …var parent = _element,offsetLeft = document.body.offsetLeft, offsetTop = document.body.offsetTop, …
2085 "clientLeft":_element.clientLeft,
2086 "clientTop":_element.clientTop,
2098 getSize:function(_element){ argument
2099 var view = pi.util.Element.getView(_element);
2102 "clientHeight":_element.clientHeight,
2103 "clientWidth":_element.clientWidth,
2104 "offsetHeight":_element.offsetHeight,
2105 "offsetWidth":_element.offsetWidth,
2109 addStyle:function(_element,_style){ argument
2113 pi.util.Element.setOpacity(_element,_style[key]);
2117 _element.style[key] = _style[key];
2121 getStyle:function(_element,_property){ argument
2124 return pi.util.Element.getOpacity(_element.style);
2125 return typeof _property=="string"?_element.style[_property]:_element.style;
2127 getValue:function(_element){ argument
2128 switch(_element.nodeName.toLowerCase()){
2131 return _element.value;
2133 return _element.options[_element.selectedIndex].value;
2135 return _element.innerHTML;
2139 getView:function(_element,_property){ argument
2140 …iew = document.defaultView?document.defaultView.getComputedStyle(_element,null):_element.currentSt…
2143 return pi.util.Element.getOpacity(_element,view);
2298 "insert":function(_element){ argument
2299 _element = _element.environment?_element.environment.getElement():_element;
2300 _element.appendChild(this.environment.getElement());
2387 "addAfter":function(_element,_referenceElement){ argument
2389 _element.environment?_element.environment.getElement():_element,
2394 "addBefore":function(_element,_referenceElement){ argument
2396 _element.environment?_element.environment.getElement():_element,
2401 "remove":function(_element){ argument
2402 …parent_.environment.getElement().removeChild(_element.environment?_element.environment.getElement(…