dojox.html.style Dynamic Style Sheets

The Theme buttons are dymanically generated based on the the link (or style) tag's title attribute. rel="stylesheet" is the preferred, enabled style sheet, and all style sheets with rel="alternate stylesheet" are disabled. Clicking the buttons toggles which style sheet is enabled. Any style sheet without a title attribute is persistent (always enabled). This is based on the W3C spec: http://www.w3.org/TR/html401/present/styles.html#h-14.3.2

Switch me:  
Simple Drop Down Toggle
-
January
February
March
April
May
June
July
August
September
October
November
December
May
+
SMTWTFS
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

This form of style switching is more effective than changing an attribute in the body tag. It makes coding CSS easier, because less emphasis is placed on targeting through the body tag class, and all CSS theme's could theoretically have the exact same selector names.

DEPRECATED: Add explicit require(['dojo/parser']); -- will be removed in version: 2.0
1.10.1 (2bde291)
Reading css rules from stylesheet https://download.dojotoolkit.org/release-1.10.1/dojo-release-1.10.1/dijit/themes/tundra/tundra.css is forbidden due to same-origin policy. See http://www.w3.org/TR/CSP/#cascading-style-sheet-css-parsing {themeStyles}
Reading css rules from stylesheet https://download.dojotoolkit.org/release-1.10.1/dojo-release-1.10.1/dijit/themes/nihilo/nihilo.css is forbidden due to same-origin policy. See http://www.w3.org/TR/CSP/#cascading-style-sheet-css-parsing {themeStyles}
Reading css rules from stylesheet https://download.dojotoolkit.org/release-1.10.1/dojo-release-1.10.1/dijit/themes/soria/soria.css is forbidden due to same-origin policy. See http://www.w3.org/TR/CSP/#cascading-style-sheet-css-parsing {themeStyles}
Reading css rules from stylesheet https://download.dojotoolkit.org/release-1.10.1/dojo-release-1.10.1/dijit/themes/claro/claro.css is forbidden due to same-origin policy. See http://www.w3.org/TR/CSP/#cascading-style-sheet-css-parsing {themeStyles}