File: class.css-generator.global.js

Recommend this page to a friend!
  Classes of JImmy Bo   JavaScript CSS Generator   class.css-generator.global.js   Download  
File: class.css-generator.global.js
Role: Auxiliary script
Content type: text/plain
Description: DEMO load up the child modules
Class: JavaScript CSS Generator
Generate CSS styles dynamically
Author: By
Last change:
Date: 10 years ago
Size: 682 bytes
 

Contents

Class file image Download
<!-- load in modules --> var css_modules = [ 'background','font','font.effect','border','shadows' ]; var str_includes = ''; var container_target = '.toolpanel '; css_modules.forEach(function(entry) { console.log(entry); str_includes += '<script type="text/javascript" src="class.' + entry + '.js"></'+'script>'+"\r\n"; }); console.log(str_includes); document.write(str_includes);