7.1
Table Of Contents
- Table of Content
- Overview
- Understanding PrintShop Mail Web
- Getting Started
- The PrintShop Mail Web Interface
- Publishing Workflow
- Ordering Workflow
- New Document
- Order Manager
- Checkout
- Companies
- Users
- Publication Types
- Collections
- Settings
- About
- License
- Roles
- Languages
- Web Design
- Maintenance
- Settings
- Currencies
- Tax Rates
- Shipping Rates
- Calendar
- Production Settings
- User Input Field Defaults
- Output Folders
- Job options
- Printers
- E-mail Settings
- E-mail Addressees
- Managing E-mail Templates
- Modules Settings
- Enabling a MIS connector
- Installed modules
- Properties
- Enabling a Print Production connector
- Installed modules
- Properties
- Requirements
- Configuring the module
- The PayPal Sandbox
- Processing orders
- Requirements
- Configuring the Authorize.net module
- Test mode
- AVS and CCV checks
- Payment page
- Requirements
- Requesting a test account
- Configuring the iDEAL test dashboard
- Configuring the iDeal module
- Requirements
- Configuring the Moneris module
- Test mode
- Requesting a live account
- AVS and CVD checks
- Payment page
- Add a new Module
- Configure a module
- Delete a Module
- XML (eXtensible Markup Language)
- Options
- Sample POST receive script
- Interaction With PrintShop Mail Design
- Introduction to Regular Expressions
- Introduction
- Skinning Guide
- Getting started
- Creating your own skin
- The template file
- HMTL Outline
- Styling
- Key Concepts
- Style organization
- Header
- User information
- Menu bar
- Background
- Overview tables
- Edit forms
- Sub menus
- Special variables
- Variables for template files
- Variables for style files
- Creating page exceptions
- Creating a page specific template file
- Modifying a page specific template file
- DOM manipulation using jQuery
- Launching code on Document Ready
- Populating fields with computed values
- Removing elements from the DOM
- Adding information to the DOM
- Customizing the store front
- Storefront class
- Creating a hierarchical tree
- Adding a live search option
- Copyright Information
- Index
Styling the menu items
The Menu bar is generated using HTML lists, within the list items hyperlinks (<a> tags) are used to define the target when the
user clicks the item. The code snippet below shows a HTML code generated for a menu bar.
<div id="menu">
<div>
<ul>
<li id="menuitem_1">
<a href="/site.php?pageid=welcome&page=1&init=true">Home</a>
</li>
<li id="menuitem_2">
<a href="/site.php?pageid=storefront_overview&page=1&init=true">
New Document
</a>
</li>
<li id="menuitem_3">
<a href="/site.php?pageid=ordermanager_overview&page=1&init=true">
Order Manager
</a>
</li>
</ul>
</div>
</div>
Below you'll the see CSS of the menu items in style-element-menu.php file. The following CSS code is used to show a hor-
izontal menu bar. By removing the display: inline attribute of the <li> tag the orientation is changed from horizontal to ver-
tical.
/* Menu */
/*
Remove the commented lines to use the web design contrast color in the menu.
Comment the background lines to hide the gradient image
*/
#menu
{
border-width: 0 1px 1px 1px;
border-color: #CDCDCD;
border-style: solid;
width: 100%;
/* background-color: <? generateSkinContrastColorHighLight(1); ?>; */
background: #D9E1E5 url('images/nav_bg.gif');
height: 26px
}
#menu a
{
/* background-color: <? generateSkinContrastColorHighLight(1); ?>; */
background: #D9E1E5 url('images/nav_bg.gif');
border-right: 1px solid #AFBEC7;
©2010 Objectif Lune Inc - 230 -