PDA

View Full Version : dynamic css and IE



Dumbledore
24 Aug 2009, 10:12 AM
Hi there,

currently i use Ext.util.CSS.swapStyleSheet for loading dynamic CSS at runtime. This runs great on Firefox but on IE it must be an existing CSS before swaping, as in the docu described. I really donīt want swapping, i need adding...

But wich way is the best to load new! CSS-Definition on the fly via an url?

Or must i do a Ajax.Call and apply the response via Ext.util.CSS.createStyleSheet?

Bye Dumbledore