BVB Source Codes

Cloud on the CMS (SyCms) v1.95 Show CssFun.js Source code

Return Download Cloud on the CMS (SyCms) v1.95: download CssFun.js Source code - Download Cloud on the CMS (SyCms) v1.95 Source code - Type:.js
  1. var styleSheet=function(e,d){var b;var c=null;if(d==null){c=document.styleSheets}else{c=d.document.styleSheets}if(typeof e=="number"){if(e>=c.length){b=c[c.length-1]}else{b=c[e]}}else{for(var a=0;a<c.length;a++){if(c[a].href==e||(c[a].href&&c[a].href.indexOf(e)!=-1)){b=c[a];break}}}this.sheet=b;this.rules=b.cssRules?b.cssRules:b.rules};styleSheet.prototype.addRuleArray=function(d){var a=new Array(new Array(),new Array());var c=0;str1=d.split("}");for(b=0;b<str1.length-1;b++){if(str1[b].length>0){str2=str1[b].split("{");str4=str2[0].replace("\n","");if(str4.length>0&&str2.length>0){if(str2[1].length>0){a[0][c]=str4.replace("\r","").replace("\n","");a[1][c]=str2[1];c=c+1}}}}for(var b=0;b<a[0].length;b++){this.addRule(a[0][b],a[1][b],b)}};styleSheet.prototype.indexOf=function(a){for(var b=0;b<this.rules.length;b++){if(this.rules[b].selectorText.toLowerCase()==a.toLowerCase()){return b}}return -1};styleSheet.prototype.removeRule=function(b){if(typeof b=="number"){if(b<this.rules.length){this.sheet.removeRule?this.sheet.removeRule(b):this.sheet.deleteRule(b)}}else{var a=this.indexOf(b);this.sheet.removeRule?this.sheet.removeRule(a):this.sheet.deleteRule(a)}};styleSheet.prototype.addRule=function(a,d,e){var c=this.indexOf(a);if(c!=-1){this.removeRule(c);e=c}else{if(typeof e=="undefined"){e=this.rules.length}}var b=a.split(",");for(var c=0;c<b.length;c++){this.sheet.insertRule?this.sheet.insertRule(b[c]+"{"+d+"}",e):this.sheet.addRule(b[c],d,e)}};styleSheet.prototype.setRuleStyle=function(a,d,b){var c=this.indexOf(a);if(c!=-1){this.rules[c].style[d]=b}};styleSheet.prototype.getRuleStyle=function(a,c){var b=this.indexOf(a);return this.rules[b].style[c]};
  2.  
downloadCssFun.js Source code - Download Cloud on the CMS (SyCms) v1.95 Source code
Related Source Codes/Software:
SuperSocket v1.6.6 - SuperSocket the Socket is a lightweight and extens... 2016-08-19
Students' basic information input program v2.0 - 1, the program is based on. net4.0 framework and d... 2016-08-19
Student information input system v2.0 - 1, the program is based on. net4.0 framework and d... 2016-08-19
Baidu handwriting input source v1.0 - Baidu handwriting input method source code, no nee... 2016-08-19
Rui bao tong v1.0 JAVA version of B2B e-commerce system - Rainbow B2B system developed using the popular JAV... 2016-08-19
1.0 housing, rental housing sale platform - Rent housing rent out platform is a very typical r... 2016-08-19
Deng Xi v2.4 website help system - Deng Xi website help system is a very useful help ... 2016-08-19
Address book v1.0 FaLiang three layer - This Demo is a three layer address book source cod... 2016-08-19
Ray speed v7.0 wage query system - To modify the software to conduct a comprehensive ... 2016-08-19
Easy to point the content management system DianCMS v6.0.0 SQL version - Easy content management system (DianCMS) is based ... 2016-08-19
www.html5rocks.com - ....a top-notch resource for web developer 2017-05-12
MTStatusBarOverlay - A custom iOS status bar overlay seen in Apps like ... 2017-05-12
blueprint - Reverse engineer server configuration ... 2017-05-12
PullToRefresh - A simple iPhone TableViewController for adding the... 2017-05-12
mrjob - Run MapReduce jobs on Hadoop or Amazon Web Service... 2017-05-11
wax - Wax is now being maintained by alibaba ... 2017-05-11
ledisdb - a high performance NoSQL powered by Go ... 2017-05-11
d3-cloud - Create word clouds in JavaScript. ... 2017-05-11
react-makes-you-sad - Here's a flowchart to make you happy again! 2017-05-11
flat-surface-shader - Flat Surface Shader for rendering lit triangles to... 2017-05-11

 Back to top