Here's how the styles change in the jQuery UI Themeroller production (Themes tab).
Here is the function that it does:
//function to append a new theme stylesheet with the new style changes function updateCSS(locStr){ $("link[href*=parseTheme\\.css\\.php]:last").after('<link href="/themeroller/css/parseTheme.css.php?'+ encodeURIComponent( locStr ) +'" type="text/css" rel="Stylesheet" />'); if($("link[href*=parseTheme\\.css\\.php]").size() > 3){ $("link[href*=parseTheme\\.css\\.php]:first").remove(); } };
Those. this is actually the answer @ inferus-vv , only jquery is used here, here it is just for convenience ...
Works in opera, chrome, safari, fox, and even in ie. It also works on the android in the stock browser.