X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/docs/source/Element.fx-more.html diff --git a/docs/source/Element.fx-more.html b/docs/source/Element.fx-more.html index 8729e250..6c3f7335 100644 --- a/docs/source/Element.fx-more.html +++ b/docs/source/Element.fx-more.html @@ -1,17 +1,12 @@ - - - The source code - - - - -
/*!
- * Ext JS Library 3.0.3
- * Copyright(c) 2006-2009 Ext JS, LLC
- * licensing@extjs.com
- * http://www.extjs.com/license
- */
-/**
+
+
+      
+  The source code
+    
+    
+
+
+    
/**
  * @class Ext.Element
  */
 Ext.Element.addMethods(
@@ -23,7 +18,7 @@ function(){
 	    XMASKED = "x-masked",
 		XMASKEDRELATIVE = "x-masked-relative",
         data = Ext.Element.data;
-		
+
 	return {
 		
/** * Checks whether the element is currently visible using both visibility and display properties. @@ -35,8 +30,8 @@ function(){ p = this.dom.parentNode; if(deep !== true || !vis){ return vis; - } - while(p && !/body/i.test(p.tagName)){ + } + while(p && !/^body/i.test(p.tagName)){ if(!Ext.fly(p, '_isVisible').isVisible()){ return false; } @@ -44,7 +39,7 @@ function(){ } return true; }, - +
/** * Returns true if display is not "none" * @return {Boolean} @@ -52,20 +47,20 @@ function(){ isDisplayed : function() { return !this.isStyle(DISPLAY, NONE); }, - +
/** * Convenience method for setVisibilityMode(Element.DISPLAY) * @param {String} display (optional) What to set display to when visible * @return {Ext.Element} this */ - enableDisplayMode : function(display){ + enableDisplayMode : function(display){ this.setVisibilityMode(Ext.Element.DISPLAY); if(!Ext.isEmpty(display)){ data(this.dom, 'originalDisplay', display); } return this; }, - +
/** * Puts a mask over this element to disable user interaction. Requires core.css. * This method can only be applied to elements which accept child nodes. @@ -78,9 +73,9 @@ function(){ dom = me.dom, dh = Ext.DomHelper, EXTELMASKMSG = "ext-el-mask-msg", - el, + el, mask; - + if(me.getStyle("position") == "static"){ me.addClass(XMASKEDRELATIVE); } @@ -90,10 +85,10 @@ function(){ if((el = data(dom, 'mask'))){ el.remove(); } - + mask = dh.append(dom, {cls : "ext-el-mask"}, true); data(dom, 'mask', mask); - + me.addClass(XMASKED); mask.setDisplayed(true); if(typeof msg == 'string'){ @@ -109,7 +104,7 @@ function(){ } return mask; }, - +
/** * Removes a previously applied mask. */ @@ -128,7 +123,7 @@ function(){ } me.removeClass([XMASKED, XMASKEDRELATIVE]); }, - +
/** * Returns true if this element is masked * @return {Boolean} @@ -137,14 +132,14 @@ function(){ var m = data(this.dom, 'mask'); return m && m.isVisible(); }, - +
/** * Creates an iframe shim for this element to keep selects and other windowed objects from * showing through. * @return {Ext.Element} The new shim element */ createShim : function(){ - var el = document.createElement('iframe'), + var el = document.createElement('iframe'), shim; el.frameBorder = '0'; el.className = 'ext-shim'; @@ -154,6 +149,6 @@ function(){ return shim; } }; -}());
- +}());
+ \ No newline at end of file