Sun Java System Messenger Express 6 2005Q4 Customization Guide

Modifying the Logo and Link

This section describes how to modify the Sun Java System Messenger Express corner logo and link shown in Modifying the Logo and Link.

Figure 2–5 Sun Java System Messenger Express Corner Logo and Link

Sun logo and link

You can modify the following on the Sun Java System Messenger Express corner logo and link:

To Modify the Logo and Link

To modify the logo and link, edit the function toolFrame() in the main.js file.

Example—Logo Modification

The example shown in Example—Logo Modification replaces the Sun logo with a custom logo having different dimensions.

Figure 2–6 Example Corner Logo

The Sun ONE logo is replaced with a custom logo having different
dimensions.

Example—Logo Modification shows the necessary changes to be made in file default.html for replacing the Sun logo SunONE.jpg with a custom logo siroe.gif.


Example 2–4 Replacing the Sun logo with a custom logo.


<table border="0" cellspacing="0" cellpadding="0"\>
<tr\>
<td width="10"\><img src="images/spacer.gif" width="10" height="1"
 alt=""\></td\>
<td valign="top" class="MstTdLogo" width="20%"\><img src="images/
               siroe.gif
               "
width="110" height="43" alt="Sun Microsystems, Inc."\></td\>


            

Example—Logo Modification shows the necessary changes to be made in file default.html for changing the link to the new URL for siroe.com.


Example 2–5 Changes to be made in the file default.html for changing the link to the new URL to 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\>
....