|
CORE
NATIVE
TABLE
MAKE
CUSTOMIZE
EFFECTS
effects_base.js
effects_morph.js
effects_fade.js
effects_move.js
effects_extra.js
effects_toggle.js
effects_cycle.js
effects_cycles.js
VIRTUAL BOX
PLUG-IN
|
element.js
Contains prototypes which extend the Element constructor, like the css method Contains Class Element Summary
Extends the Element constructor with some shortcuts to ease and speed up the development. One of these last ones,is the css method that provides the functionalities of the Element's getStyle, getStyles, setStyle and setStyles methods. Extends Class Element Methods
top method css provides the functionalities of the Element's getStyle, getStyles, setStyle and setStyles methods
Arguments
Example // getStyle el.css('width'); // Returns '400px' // getStyles el.css('width', 'height', 'margin'); // Returns {width: '300px', height: '300px', margin: '10px 0px 10px 0px'} // setStyle el.css('width', 300); // Now the width is set to 300 // setStyles el.css({'width' : 200, 'height': 200}); // Now the width and the height are set to 200
Documentation By
Riccardo Degni -
powered by MakeDocs, CMS by RD |