- The Statewide Alert Box is already included in the sample code. When an alert is issued by DBM it will automatically appear on the agency home page. It will disappear when the alert is over.
- The Statewide Alert requires JSON script, CSS, jQuery, and a DIV class reference. Do a Find All for "Step 8" in either index3col.html or index2col.html to find the code references, or view code
- Optional: To test display of statewide alert, change thescript reference from MDAlertCode.js to PilotAlertTestCode.js, Remember to change back to MDAlertCode.js before publishing your site.
Under <head> tag:
Under <body> tag:
To add an agency alerts/topics, uncomment the code:
Recommend 40 characters or less for the agency alert message.