AlternativePublicWebsite: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
=== Configuration ===
 
This version of the Alternative Public Website comes with a remodelled version of cmxConfig. Thiswhich is nowheld in its own file - config.js. You will need to edit this file to make it point to your data.
 
==== Heading text ====
| style="width: 60em;"|
 
<nowiki>let cmxConfig = {
// Edit this to set your required configuration
"Custom": {
"StandardMenuSideMenu": falsetrue, // Set to true orto use a sidebar falsemenu
"DropdownBannerStyle": true"thin", // Accepts 'thin' to reduce //the setheight toof the banner; only trueon orsidebar falsenavigation
"Theme": "", // Set to the name of an existing theme WITHOUT 'css'
"Logo": "", // Set to the absolute or relative path and name of the image to use OR 'None'leave blank
"BannerImage": "", // As above or leave blank
"BannerPosition":"center centerbottom 40%", // Use allowable css values including units
},
"DataPath": "", // Set to the absolute or relative path of your data
"Geometry": {
"StaticHead": true, // true or false accepted
"Units": "em", // Accepts any valid css unit
},
"Gull": { // Affects the standing gull only
"Gull": {
"Animation": "", // Values: Blank, 'Expand', 'Enter left', 'Enter right' or 'Drop' only
"Speed": 5, // Positive numeric values only (can be real)
"OnTop": truefalse, // true or false
},
"Panels": {
"Shadows": "", // Blank, Basic or Enhanced only
"VariableHeightsVariableHeight": falsetrue, // true or false
},
"Menu": "jsonjs/ows-menu.js", // Relative path and name of menu script.
"NOAAPath": "Reports/", // Absolute or relative path to your NOAA Reports
}
// You are advised to leave these blank.
let cmxSession = {
"Records": {
"Monthly": "", // Numeric integer representing to month to show - zero based
"Historic":"" // One of: Temp. Press, Wind, WindDir, Rain, Humidity, Solar, DegDays, TempSum, ChillHrs, Snow
}
}
}</nowiki>
|style="padding-left: 1em;"|
===== Explanation =====
455

edits

Navigation menu