User Tools

Site Tools


tips:webos:mainbody

How to add a class to the body element of the main stage view

For example, to switch to the dark style theme, add the following at the begging of your main stage assistant:

$$('body')[0].addClassName('palm-dark');
tips/webos/mainbody.txt · Last modified: 2009/10/21 14:52 by erik