7.1

Table Of Contents
#tableOverview td {
padding: 2px;
border-width: 0 0 1px 0;
border-color: background-color: <? generateSkinHeaderColorHighLight(1.1); ?>;
border-style: solid;
}
generateSkinLocation
This functions returns the path to your skin folder. It can be used in both style files and the template file to insert the path to the
folder of the skin. This prevents you from entering the full path making it easier to duplicate a skin folder.
<img src="<? echo generateSkinLocation() ?>/banner-image1.png"/>
generateSkinLogo
The generateSkinLogo retrieves the path to the header image specified in the Edit Web Design page. If no image is specified
the path of the header image from the system default skin will be returned. Below an example on how this function can be
used in your Style.php file:
#header {
height: 90px;
background-image: url(<? generateSkinLogo(); ?>);
background-position: center left;
background-repeat: no-repeat;
background-color: <? generateSkinHeaderColor();?>;
width: 100%;
}
generateSkinMainColor
The generateSkinMainColor function retrieves the main color set in the Edit Web Design page of the PrintShop Mail Web site.
The value entered in the Edit Web Design page can be entered manually or selected in the color picker. Below an example on
how this color can be set using this function. In this case the background color is set for the edit forms header bar class (or title
bar).
.formHeader {
display: block;
width: 100%;
background-color: <? generateSkinMainColor(); ?>;
color: #FFFFFF;
padding: 2px;
font-weight: bold;
}
generateSkinMainColorHighLight
The generateSkinMainColorHighLight function retrieves the skins main color set in the Edit Web Design page. The parameter
of this functions lets you change the tint of the color. Fractional values are used, where 0.0 will be black, 1.0 the original color
and higher values will result in a lighter tint of the main color.
Below an example on how this color can be set using this function. In this case the background color of the user info bar will
have a darker tint when the user places the cursor over these items (hover).
©2010 Objectif Lune Inc - 244 -