HTML Head / Meta Data / CSS & JS Files
Certain parts of the code in these template are crucial and should not be
altered. Web custodians that edit HTML code directly will need to be especially
careful not to alter certain aspects of the templates. The very first line in
the HTML for DOCTYPE needs to be intact including the URL to the DTD (Document
Type Definitions) file as removing this will completely alter the method the
browser renders the page. <!DOCTYPE HTML PUBLIC "-//W3C//DTD
HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> The
default TITLE tag contains the following: Ministry of Forests
and Range - Province of British Columbia You should add the title of your page
or site at the beginning of this text separated by a dash. Meta tags for
KEYWORD and DESCRIPTION are included but are blank. Key index pages (home pages)
should have values added here as this will greatly improve your page ranking
results in the government search engine as well as other external search
engines. The link to the style sheet is critical in maintaining the look of
the page and can not be removed or altered. <link
rel="stylesheet" href="http://www.for.gov.bc.ca/mof/portal/css/style.css"
type="text/css"> Web custodians should not take a copy of this style sheet to
store on their individual sites as this defeats the purpose of a central style
sheet. Additional styles can be added to the main style sheet by contacting
alasdair.ring@gov.bc.ca or a second
style sheet can be created locally as more than one style sheet can be linked
to. The link to the two JS files are required on all pages. The MENU.JS file
contains cookie information that is required by the text sizer so it is required
on all pages, not just ones using the expanding menu system. As such, the BODY
tag requires the two JavaScript event calls. <body onUnload="javascript:closeWindow();"
onLoad="javascript:ChangeFontSize(0)"> Page Elements
DIV tags are used by the style sheet to apply certain styles to different
sections of the page so should not be altered. Only when removing entire
optional page elements can they be removed. The “breadcrumb trail” at the top
of the page below the search box is a bulleted list that is set by the style
sheet to display inline (horizontally) and to use the “double chevron” graphic
as the bullet. To add another level to the breadcrumb trail simply place your
cursor at the end of the text and click Enter to enter a carriage return and
create a new breadcrumb bullet. Other bulleted lists are the same in that the
red arrow bullets in the navigation section and the yellow boxed arrow bullets
in the main content section are assigned automatically; you do not have to
manually link to these image files. The yellow boxed arrow bullets in the
content section are intended as a page contents to link to “bookmarks” within
the same page. The grey navigation section for “Key Indexes” and “Government”
are not mandatory and can be removed. Consider keeping them on your office
homepage but when on sub-pages requiring detailed navigation they could be
removed. The title “Key Indexes” should not be used for other navigational
systems but should be changed to the standard “Resources” or some other
appropriate title e.g. “Programs” or “Popular Topics”. The Ministry of Forests
and Range banner graphic is not mandatory but new graphics can not be created
without the approval of the Public Affairs Bureau. It is best left on home pages
but can be removed on detailed content pages. |