## ## defs.wh ## ## This file is included by all files, and is used to hold ## values of all the default values of all the different style ## And structure information for the web pages. ## ## Include defs.wh as the very first action on any page. ## This allows any individual page to overwrite ## the default value in any variable ## ## Note: Use the _ at the front and end of variables and ## use the - (dash) in the middle of variables ## ## Use the full name of the feature in a variable ## like BGCOLOR=X instead of X because this allows you ## to eliminate variables by not defining them in defs.wh ## ## Definitions ## ## Since all the variables are surrounded by _, this will make ## it faster to process the files. #pragma underscore #define _AUTHOR-NAME_ Dave Regan #define _AUTHOR-EMAIL_ regan@mordred.ao.com #define _AUTHOR-HOME_ http://mordred.ao.com/~regan/ #define _SUPPORT-EMAIL_ regan@mordred.ao.com #define _SUPPORT-NAME_ Dave Regan #define _META-KEYWORDS_ "Dave Regan's Cornvalley CGI scripts and Sundries, cgi programs, custom programming, perl" #define _META-DESCRIPTION_ "Dave Regan's Cornvalley CGI scripts and Sundries is a collection of cgi programs and custom programming that looks generally useful. It is mostly written in perl" #define _QW-COURSE_ na #define _COURSE-HOME_ na #define _QW-HOME_ na #define _IMG_ http://mordred.ao.com #define _HOME_ http://mordred.ao.com #define _BULLET-IMAGE_ "_IMG_/images/cornvalley.green.jpg" #define _COL1-WIDTH_ 120 ## HTML Style #define _PAGE-BGCOLOR_ "#FFFFFF" #define _LINK-COLOR_ "#00CC00" #define _VLINK-COLOR_ "#00AA00" #define _BGPICT_ "_IMG_/images/pixel.gif" #define _SPACE-IMAGE_ "_IMG_/images/pixel.gif" #define _FONT-TYPE_ "Ariel,Helvetica" #define _TITLEFONT-SIZE_ "+2" #define _FONT-SIZE_ "6" #define _VERSION_ "1.0" #define _HR-DEF_


##define _HR-DEF_
#define _TR-DEF_


##define _TR-DEF_
#define _COUNTER-LOCATION_ "http://www.peak.org/cgi-bin/counter" #define _COUNTER-REFERENCE_ Cornvalley #define _COUNTER-FONT_ digital #define _COUNTER-WIDTH_ 4 #define _PAGELIST_ pagelist.wh #define _HOTBAR_ hotbar.wh #define _LEFT-PAGELIST_ peak-pagelist.wh #define _LEFT-HOTBAR_ peak-hotbar.wh #define _RIGHT-PAGELIST_ help-pagelist.wh #define _RIGHT-HOTBAR_ help-hotbar.wh #define _NAVBAR-PAGELIST_ navbar.pagelist.wh #define _NAVBAR-HOTBAR_ navbar.hotbar.wh #define _TABLE-CELLSPACING_ cellspacing=0 #define _TABLE-CELLPADDING_ cellpadding=0 #define _TABLE-CENTER-WIDTH_ ## width="95%" #define _TABLE-WIDTH_ ## width="95%" #define _IMAGE-WIDTH_ width= "_COL1-WIDTH_" #define _TABLE-LEFTSIDE-WIDTH_ width="_COL1-WIDTH_" #define _TABLE-RIGHTSIDE-WIDTH_ width="85" #define _TABLE-LEFTSIDE-IMAGE-WIDTH_ width="70" #define _TABLE-RIGHTSIDE-IMAGE-WIDTH_ _TABLE-RIGHTSIDE-WIDTH_ #define _TABLE-BORDER_ border=0 #define _TABLE-VALIGN_ valign=TOP #define _TABLE-ALIGN_ align=CENTER #define _IMAGE-ALIGN_ align=MIDDLE #define _TABLE-ROW1CELL1-LINK_ "http://mordred.ao.com/" #define _TABLE-ROW3CELL1-LINK_ "http://mordred.ao.com/" #define _TABLE-ROW5CELL1-LINK_ "http://mordred.ao.com/" #define _TABLE-ROW1CELL1-IMAGE_ "_IMG_/images/pixel.gif" ## note table row1cell2-image is "top-logo" #define _TABLE-ROW1CELL3-IMAGE_ "_IMG_/images/pixel.gif" #define _TABLE-ROW2CELL1-IMAGE_ "_IMG_/images/pixel.gif" #define _TABLE-ROW2CELL3-IMAGE_ "_IMG_/images/pixel.gif" #define _TABLE-ROW3CELL1-IMAGE_ "http://mordred.ao.com/images/cornvalley.green.jpg" #define _TABLE-ROW3CELL3-IMAGE_ "_IMG_/images/pixel.gif" #define _TABLE-ROW4CELL1-IMAGE_ "_IMG_/images/pixel.gif" #define _TABLE-ROW4CELL3-IMAGE_ "_IMG_/images/pixel.gif" #define _TABLE-ROW5CELL1-IMAGE_ "http://mordred.ao.com/images/cornvalley.green.jpg" ## Note _TABLE-ROW5CELL2-IMAGE_ is bottom-logo #define _TABLE-ROW5CELL3-IMAGE_ "_IMG_/images/pixel.gif" ## Note that the BGCOLOR is part of the definition ## This allows the color to be removed and to ## show up as transparant ## #define _TABLE-ROW1CELL1-BGCOLOR_ BGCOLOR="#00BB00" #define _TABLE-ROW1CELL2-BGCOLOR_ BGCOLOR="#FFFFFF" #define _TABLE-ROW1CELL3-BGCOLOR_ BGCOLOR="#FFFFFF" #define _TABLE-ROW2CELL1-BGCOLOR_ _TABLE-ROW1CELL1-BGCOLOR_ #define _TABLE-ROW2CELL2-BGCOLOR_ BGCOLOR="#FFFFFF" #define _TABLE-ROW2CELL3-BGCOLOR_ BGCOLOR="#FFFFFF" #define _TABLE-ROW3CELL1-BGCOLOR_ _TABLE-ROW1CELL1-BGCOLOR_ #define _TABLE-ROW3CELL2-BGCOLOR_ #define _TABLE-ROW3CELL3-BGCOLOR_ #define _TABLE-ROW4CELL1-BGCOLOR_ _TABLE-ROW1CELL1-BGCOLOR_ #define _TABLE-ROW4CELL2-BGCOLOR_ #define _TABLE-ROW4CELL3-BGCOLOR_ #define _TABLE-ROW5CELL1-BGCOLOR_ _TABLE-ROW1CELL1-BGCOLOR_ #define _TABLE-ROW5CELL2-BGCOLOR_ #define _TABLE-ROW5CELL3-BGCOLOR_ #define _NAV-TABLE-BGCOLOR_ BGCOLOR="#FFFF00" #define _NAV-ALIGN_ align=CENTER #define _NAV-VALIGN_ valign=MIDDLE #define _NAV-BORDER_ border=4 #define _NAV-WIDTH_ ## width=95% #define _NAV-CELLSPACING_ cellspacing=5 #define _NAV-CELLPADDING_ cellpadding=5 #define _TOP-LOGO_ "http://mordred.ao.com/images/cornvalley.green.jpg" #define _TITLE-LOGO-IMAGE_ "http://mordred.ao.com/images/cornvalley.green.jpg" ## Note that the attributes should be included with the value ##define _TITLE-LOGO-ALIGN_ align=middle ##define _TITLE-LOGO-VALIGN_ valign=CENTER ##define _TITLE-LOGO-WIDTH_ width= "360" ##define _TITLE-LOGO-HEIGHT_ height= "100" ##define _TITLE-LOGO-VSPACE_ vspace= "5" ##define _TITLE-LOGO-HSPACE_ hspace= "5" #define _TITLE-LOGO-ALIGN_ align=CENTER #define _TITLE-LOGO-VALIGN_ valign=Middle #define _TITLE-LOGO-WIDTH_ width= "80" #define _TITLE-LOGO-HEIGHT_ height= "60" #define _TITLE-LOGO-VSPACE_ vspace= "2" #define _TITLE-LOGO-HSPACE_ hspace= "2" #define _TITLE-HEADER-SPACE_

#define _BOTTOM-LOGO_ "_IMG_/images/pixel.gif" #define _BOTTOM-VALIGN_ #define _BOTTOM-ALIGN_ align=MIDDLE