|
The Website Templates
Only six PARSEC templates are used to construct the Website worked example.
The Main Code Template
Invokes Website's Cascading Style Sheet Template and top level page generation Template.
The Web Page Template
Produces HTML for both Home and Sub pages. The HEAD section is generated and also the start and end of the BODY section. Invokes the Home Page and Sub Page Templates.
The Logo and Banner Template
Produces the HTML for the top left site logo and also the top of page banner.
The Home Page Template
Produces code for the single Home page. After the Logo and Banner are created, a blank menu area is coded. The content area is formed from a number of rows (Navigation Block), each containing a number of Navigation Block Cells.
The Content Page Template
Produces code for all Sub pages. After the Logo and Banner are created a menu on the left hand side is formed. The content area has a heading and a block of body text which is included from another file.
The Style Sheet Template
Produces code for the Website's Cascading Style Sheet. Most of the text in this file is simply copied over, but two styles are created specially, one each for the Home and Sub pages.
|