Sun Java System Messenger Express 6 2005Q4 Customization Guide

Modifying the Title Graphics and Text


Example 2–6 Changes to be made in file default.html for changing the link to the new URL for siroe.com.


....
<td colspan="2"\><a href="http://www.siroe.com"\>
onMouseOver="over('bannerlink')" onMouseOut="out('bannerlink')"
onClick="loadandswap('bannerlink', '
            http://www.siroe.com
            '); return true"\> <font size="-1"\><span
 class="banner-links"\>
            siroe.com
            </span\></font\></a\></td\>
</tr\>
....
Modifying the Title Graphic and Text
         

This section describes how to modify the title graphic and the text shown in Modifying the Title Graphics and Text.

Figure 2–7 Sun Java System Messenger Express Title Text

The Messenger Express title text and title graphic are customizable.

You can modify the following on the Sun Java System Messenger Express title graphic and text:

To Modify the Title Graphic and Text

To customize the layout of the title text, edit the function toolFrame() in the main.js file.

Example—Title Text Modification

The example shown in Example—Title Text Modification customizes the text to “Inbox for user.”

Figure 2–8 Example Title Text Modification

In Figure 2-8  the title text has been customized to "Inbox for
user."

Example—Title Text Modification shows the necessary changes to be made in file main.js to alter the graphic title.


Example 2–7 Altering Graphic Title


....
<TD width=1% nowrap bgcolor="'+ chrome1 +'"\><NOBR\>
<IMG src="imx/
               Banner.gif
                width="273" height="27"
 alt="'+i18n['Sun Java System Messenger Express']+'"
align=texttop border=0 hspace=5 vspace=3
</nobr\></TD\>
....

            

Example—Title Text Modification shows the necessary changes to be made file en/i18n.js to alter the title text.


Example 2–8 Altering Title Text


function i18n_tab_header(user) {
return ’<nobr\>&nbsp;&nbsp;
               Inbox for
                ’ + user
}