User Tools

Site Tools


tips:webos:mainbody

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
tips:webos:mainbody [2009/10/21 07:51]
erik Page name changed from tips:webos:mainbodyk to tips:webos:mainbody
tips:webos:mainbody [2009/10/21 07: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 07:52 by erik