Oxford Area School District > Technology > Web Site Manual
Changing the site-wide menu file
The site-menu is a Javascript file, located here: /shared/menu.js
The file is very "sensitive" to captilization and punctuation. As a precautionary menu, it is recommended to make a backup copy of the last working menu.js file before proceed with any changes. To do this in Dreamweaver, right-click on the file name and select Edit > Duplicate. By default, the backup copy will be called "Copy of menu.js".
When adding, removing, or changing one individual menu item...
In Dreamweaver, use Edit menu > Find and Replace... to find the menu item to be changed or the menu item adjacent to where the new addition will be placed. Following the Javascript syntax pattern that already exists, change or add either the menu label and/or the page link.
use code view to edit an existing entry, such as this one:
{code:"Channel 68",url:"http://webtraining.oxford.k12.pa.us/district/channel68.html"}
make changes the the link name (code) and the link address (url), being careful to stay within the existing quotes:
{code:"Channel 68",url:"http://webtraining.oxford.k12.pa.us/district/channel68.html"}
Save the file and upload the saved file to the web server. Reload pages in a web browser to test the changes.
When moving the entire site from one server to another...
Please refer to separate instructions for moving the site (from one server to another). Those instructions are different than updating the site (on the same server).