Function | Sets the color scheme of the application | ||||
Example |
<!-- set color scheme on first
screen--> <input type="hidden" class="output" name="myuser.colorscheme" onchange="S10SetColorscheme(this.value)" /> |
||||
Parameters |
|
||||
Description |
S10SetColorscheme() allows you to set the color scheme dynamically, for example
according to user preferences. If the application has a fixed color setting, instead of calling S10SetColorscheme() you can assign a fixed CSS class "colorschemeX" to the HTML page, where X is a number between 1 and 9. For example, set the Fiori standard with <body style="width:100%; margin:0px; padding:0px;" onload='init();' class="colorscheme9"> |
||||
Components | S10 Framework |