Sun Java System Messenger Express 6 2005Q4 Customization Guide

Example—Color Sets Modifications

The example shown in Example—Color Sets Modifications customizes the default color set ui[0] to have accent1 color maroon, chrome4 color navy blue, and chrome5 color silver.

Figure 2–4 Example Color Sets Modifications

In this figure the default color set ui[0] has been changed to
accent1 color maroon, chrome4 color navy blue, and chrome5 color silver.

Example—Color Sets Modifications shows the necessary changes to be made in the file main.js.


Example 2–3 Altering Color Sets


var ui = new Array()

ui[0] = new array(’666699’,’
               800000
               ’,’CCCCFF’,’666666’,’
               000080
               ’,’
               C0C0C0
               ’,
’E6E6E6’,’gray90.gif’,’3333CC’,’3333CC’,’333366’,’FFFFFF’,
’000000’,’FFFFFF’,’000000’)