/*Masks*/. Loading-mask{width:100%;Height:100%;position:fixed;Top:0; Left:0; Right:0;Bottom:0;Background-color:#fff;Opacity:0.3;Filter:Alpha (opacity = +);Z-index:10000;}/*Loading pictures Dynamically*/. Loading{position:fixed;Top:0; Left:0;width:100%;Height:100%;background:URL (loading.gif) 50% 50% no-repeat;Z-index:10010;}
//Add Body Maskfunctionmaskelement (masklevel) {if(!masklevel) {Masklevel= ' 0 '; } if($ (". mask-level-" + masklevel). Length = = 0) { $("Body"). Append (' <div class= ' loading-mask mask-level-' + masklevel + ' "></div> '); }}//Cancel Body Maskfunctionunmaskelement (masklevel) {if(!masklevel) {Masklevel= ' 0 '; } $(". mask-level-" +masklevel). Remove ();functionLoadingshow (ismask) {if(ismask) {common.maskelement ("0"); } if($ (". Loading"). Length = = 0) { $("Body"). Append (' <div class= ' loading ' ></div> '); }}functionloadinghide () {unmaskelement ("0"); $(". Loading"). Remove ();
CSS is loading