3 ms·
in my rich internet applications i will use traditional CSS for the initial "base" state of the application and then JSSS for all further states which are gener
by dasil003 17y ago
in my rich internet applications i will use traditional CSS for the initial "base" state of the application and then JSSS for all further states which are generated via JS (no page-reload)
Why not just have the dynamic style in a separate class next to the base class it's applied to and then use jQuery.addClass?
- JimBastard 17y agoyou could implement a parser that used .addClass() and .removeClass() instead of .css() if i release an official parser i think it would use those methods. the whole point is to store your CSS in JSON and parse it with JS, the libraries used to do the parsing / assigning are kinda arbitrary.