File: class.css-generator.global.init.js

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

Contents

Class file image Download
// begin -> load class into variable var myBorder = new class_css_border(myBorder); myBorder.set.parent_class('.tool-border-generator'); // read input fields from this div myBorder.set.display_b('.super-display'); // set css of a target secondary div myBorder.process.all(); // applies css changes to targetted divs myBorder.do.jquery(); // activate jquery input triggers (actions on keypresses) // end <- load class into variable // begin -> load class into variable var myBoxShadow = new class_css_boxshadow(myBoxShadow); myBoxShadow.set.parent_class('.tool-box-shadow-generator'); // read input fields from this div myBoxShadow.set.display_b('.super-display'); // set css of a target secondary div myBoxShadow.process.all(); // applies css changes to targetted divs myBoxShadow.do.jquery(); // activate jquery input triggers // end <- load class into variable // begin -> load class into variable var myBackground = new class_css_background(myBackground); myBackground.set.parent_class('.tool-background-generator'); myBackground.set.display_b('.super-display'); // add a second affected div myBackground.process.all(); // force object to update myBackground.do.jquery(); // activate jquery input triggers // end <- load class into variable // begin -> load class into variable var myFont = new class_css_font(myFont); myFont.set.parent_class('.tool-font-generator'); myFont.set.display_b('.super-display'); // add a secondary trigger myFont.process.all(); // force object to update myFont.do.jquery(); // activate jquery input triggers // end <- load class into variable // begin -> load class into variable var mFontEffect = new class_css_fonteffect(mFontEffect); mFontEffect.set.parent_class('.tool-font-effect-generator'); mFontEffect.set.display_b('.super-display'); // add a secondary trigger mFontEffect.process.all(); // force object to update mFontEffect.do.jquery(); // activate jquery input triggers // end <- load class into variable