useStyleSheet does not put it in the header

I want to change the theme by name on the fly by passing in the theme name on 
the address bar and then using it like this:

useStyleSheet(Wt::WApplication::resourcesUrl() + "themes/wittywizard/" + 
myTheme + "/ww-" + myTheme + ".css");

If its not in the header, my menu jumps around until its loaded.

I will do a check to make sure the folder exist, so there is no way to do 
injection for security reasons.

Thanks



------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to