User Tools

Site Tools


tips:webos:mainbody

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tips:webos:mainbodyk [2009/10/21 14:49] – created eriktips:webos:mainbody [2009/10/21 14:52] (current) erik
Line 1: Line 1:
 +====== 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:
 +
 +<code javascript>$$('body')[0].addClassName('palm-dark');</code>
tips/webos/mainbody.txt · Last modified: 2009/10/21 14:52 by erik