IBM Web Content Manager - The IBM Learner Portal is currently ...
IBM Web Content Manager - The IBM Learner Portal is currently ...
IBM Web Content Manager - The IBM Learner Portal is currently ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
6: Adding navigational components to your website<br />
Now that you have created the basic outline of your site, you will need to create components to add<br />
additional features to your website, such as navigation and search.<br />
Time required<br />
It should take approximately 3 hours to complete these lessons.<br />
Learning objectives<br />
When you have completed th<strong>is</strong> section of the course you should be able to:<br />
v Create a navigator component<br />
v Create a menu component<br />
v Create a paging tool component<br />
v Create a search form<br />
Note: Component designs and styles<br />
Current CSS practice <strong>is</strong> to apply object-oriented principles to CSS design to make CSS easier to maintain.<br />
Object-oriented CSS <strong>is</strong> basically a set of patterns for how the page <strong>is</strong> marked up and how CSS <strong>is</strong> applied,<br />
including:<br />
Modularized page structure<br />
Each module of content <strong>is</strong> wrapped in a container, and then divided into three <br />
subcontainers representing a header, body, and footer. For example:<br />
<br />
<br />
<br />
Lorem ipsum<br />
<br />
<br />
<br />
Avoidance of HTML selector styles<br />
Using HTML tags to control styles <strong>is</strong> avoided. Instead, classes are used to apply styles to different<br />
containers. For example:<br />
<br />
<br />
<br />
Lorem ipsum<br />
<br />
<br />
<br />
Accompanying guide for SPVC - not for d<strong>is</strong>tribution<br />
Split styles into reusable pieces<br />
Background, border, color schemes, text styles, etc., are defined as separate classes that can be<br />
referenced separately within a tag. For example, in th<strong>is</strong> tag three different classes are used to<br />
define the container type (mod), color scheme (featColors) and border style (allRound):<br />
<br />
Lab 6.1: Creating a site map.<br />
In th<strong>is</strong> exerc<strong>is</strong>e, you will create a site map by using a navigator component.<br />
89