A testbed has been set up to keep track of development and production versions of our jQuery code and to test new versions of scripts before they are included in the standard BNL web template.
All jQuery code is stored in /common/jQuery/ on all four servers:
Each parent script folder contains subfolders that contain the current and earlier versions of the script (with folders named for the numerical version number of each script) as well as a /latest/ folder that contains the latest version of the code.
Once tested, new versions of each script's code will be placed into the /common/jQuery/SCRIPT-NAME/latest/ folder.
All references to jQuery scripts should reference the latest verson of the script
stored in this common file location:
/common/jQuery/SCRIPT-FOLDER-NAME/latest/SCRIPT-FILE-NAME.js
In doing so, script path references will never have to be updated as new versions
of script files are moved into the latest folder.
The following jQuery scrips, which are referenced in the /common/templates/global/scripts/BNLTemplateScripts.inc include file, are available to every BNL webpage:
The following scripts are not included in every BNL web page and should be included as needed:
The "ui-lightness" theme is included as the default theme for all jQuery UI widgets (tabs, datepicker claendars, etc.) on BNL web pages.
If you wish to use another jQuery UI theme, then add a reference to one of the other theme style sheets: