OmniDerek Test/Dev Page
Any page intending to use OmniDerek functionality must include OmniDerek.css and OmniDerek.js in the head section of the document.
- PATH_TO_ROOT: A relative path from the current file's directory to the public_html directory of the repository. This is unnecessary if the file is in the same directory as OmniDerek.html.
- LAST_MODIFIED: a string representing the date the current page was last modified. If this is not defined, the bottombar will use some variant of 'unknown'.
- VALIDATION.CSS: if a page's most recent iteration has passed the W3C's CSS validator, set this to true to make an icon appear.
These definitions must be made in the head section of the file, and must appear after the inclusion (via a script tag) of OmniDerek.js.
Topbar, Validation Area, and Bottombar
The versions in this file are the "authoritative", most recent versions. Edit them in this file and then paste into all other files that use the OmniDerek system. You should never need to edit these for individual files. If a page is missing any of these, it probably shouldn't include OmniDerek.js.
Parts of the OmniDerek system need to be activated/initialized. This is accomplished by inserting a script at the bottom of the body section that calls the global function init().