Layout Options
Web authors have two available web page templates (variations can be
custom created by the Web Services group on an as-needed basis, e.g.,
special projects, home pages).
2 Column Template
template_2column.asp
This template
should be used for all new web pages being developed on your website.
Copy and rename this template with a new filename and make sure to use
the proper
naming convention,
i.e., no special characters like $, %, &, etc. in the filename.
Below is a list of html code that shows the relative
file path to this templates stylesheets and as well as the pages
include file statements. This template is designed to work
in all subfolders in your site. Do not alter
the file paths of these include file statements listed below. Doing
so will break the template. (Server Side Includes)
<head> <link rel="stylesheet" type="text/css" media="print" href="http://www.bnl.gov/styles/generic_print.css"> <link rel="stylesheet" type="text/css" media="all" href="http://www.bnl.gov/styles/generic_style.css"> </head> <body> <!--#include virtual="/common/scripts/generic_head.inc"--> <!--#include virtual="/common/scripts/generic_menubar.inc"--> <!--#include virtual="/common/scripts/generic_searchbox.inc"-->
<!--#include virtual="/common/scripts/generic_verticalMenu.inc"--> <!--#include virtual="/common/scripts/generic_footer.inc"--> </body>
1 Column Template
template_1column.asp
This template
should be used for web pages being developed on your website that will
not fit using a 2 column template (Ex. large data tables and calendars).
Copy and rename this template with a new filename and make sure to use
the proper
naming convention.
Below is a list of html code that shows the relative
file path to this templates stylesheets and as well as the pages
include file statements. This template is designed to work
in all subfolders in your site. Do not alter
the file paths of these include file statements listed below. Doing
so will break the template. (Server Side Includes)
<head> <link rel="stylesheet" type="text/css" media="print" href="http://www.bnl.gov/styles/generic_print.css"> <link rel="stylesheet" type="text/css" media="all" href="http://www.bnl.gov/styles/generic_style.css"> </head> <body> <!--#include virtual="/common/scripts/generic_head.inc"--> <!--#include virtual="/common/scripts/generic_menubar.inc"--> <!--#include virtual="/common/scripts/generic_footer_1col.inc"-->
Search box: (Optional Feature)
Generic
Search Engine Box
An optional search box can be added to the
1 column template shown above if desired. Adding this feature is
simple. Just add the following include file statement:
<!--#include virtual="/common/scripts/generic_searchbox_v2.inc"-->
to your HTML code under the generic_menubar.inc include file
statement, see below. If done correctly, the search box will be
displayed under the "black"
Primary Navigation Bar when viewed in a browser.
View:
1 column template with Search Feature
<body> <!--#include virtual="/common/scripts/generic_head.inc"--> <!--#include virtual="/common/scripts/generic_menubar.inc"-->
<!--#include virtual="/common/scripts/generic_searchbox_v2.inc"-->
Custom-Designed Template
When a need exists for a layout that the two templates above cannot
accommodate (department home pages often fall into this category), custom
templates are available upon request.


Last Modified: April 6, 2009
|