Step One: Copy a Template |
Step Two: Adding a Side Menu |
Alternate Copy & Paste Method: Starting the Page Sidemenu Ending the Page |
| Extras: | FrontPage Settings | Optional Elements |
| Adding a Counter | Hiding Email Addresses | |
| Creating Graphical Buttons |
You will create one file that will store your side menu to be used throughout your site. This way, you only have to make edits to one file and the change will be reflected throughout your site.
This is the sidemenu file used on this page called "sidemenu.htm".
You may copy and paste the following code to help you make your side menu. The class="MENU"
uses a style sheet definition to set the font color, size, and hover color. The links must
start with /~username for them to be accessed correctly. For example, in the following
code, you would change /~username/ to /~yourusername/, for me I would use /~pjoseph/. You can save the file as any name you like, just so the same file
name is used in the StartGPC function call.
Example:
<script language = "php">
include "/usr/local/web/StyleGuide/php3/gpc-look.php3";
$title="Pam's Page";
$lmargin="150";
$sidemenu="http://www.gpc.edu/~pjoseph/sidemenu.htm";
StartGPC( $title, $lmargin, $sidemenu);
</script>

