GHANIFIED! addClass and removeClass
Available from : v0.3
needs : GHCORE Object
Those to funtions should make life a bit easier, when you have several classes on one object. Instead of starting to filter all this, just call those functions. As the names tell you, they add and remove a CSS class from an object. The object delivered by its id.
I use this stuff pretty often, while changing CSS classes is not that obstrusive as to mess up the styles directly.
Back to the overview of GHANIFIED! ... a JavaScript ToolKit
needs : GHCORE Object
Those to funtions should make life a bit easier, when you have several classes on one object. Instead of starting to filter all this, just call those functions. As the names tell you, they add and remove a CSS class from an object. The object delivered by its id.
Usage
JavaScript SOURCE CODE
Sorry- ... please log-in or register to get this!
I use this stuff pretty often, while changing CSS classes is not that obstrusive as to mess up the styles directly.
Back to the overview of GHANIFIED! ... a JavaScript ToolKit
Comments