39 lines
2.1 KiB
JavaScript
39 lines
2.1 KiB
JavaScript
/*
|
|
An example extended/modified Menu configuration file for NEW CuMX template
|
|
Last modified: 2021/03/19 09:17:14
|
|
menuSample.js - typical name, you define the one used in setpagedata.js
|
|
|
|
Properties:
|
|
.menu - can be 'b' (both menus), 'w' (wide menu ONLY), 'n' (narrow menu ONLY)
|
|
.new_window:true - forces the link to open in new browser window
|
|
.forum:true - flags a forum link menu item, it will use the url provided in CuMX config, if that is blank the menu item will be hidden
|
|
.webcam:true - flags a webcam link menu item, it will use the url provided in CuMX config, if that is blank the menu item will be hidden
|
|
*/
|
|
|
|
menuSrc = [
|
|
{title: "Now", menu: "b", url: "index.htm"},
|
|
{title: "Today", menu: "b", url: "today.htm"},
|
|
{title: "Yesterday", menu: "b", url: "yesterday.htm"},
|
|
{title: "Gauges", menu: "b", url: "gauges.htm"},
|
|
{title: "Records", menu: "b", submenu: true, items: [
|
|
{title: "This Month", menu: "b", url: "thismonth.htm"},
|
|
{title: "This Year", menu: "b", url: "thisyear.htm"},
|
|
{title: "All Time", menu: "b", url: "record.htm"},
|
|
{title: "Monthly", menu: "b", url: "monthlyrecord.htm"}
|
|
]},
|
|
{title: "Charts", menu: "b", submenu: true, items: [
|
|
{title: "Trends", menu: "b", url: "trends.htm"},
|
|
{title: "Select-a-graph", menu: "b", url: "selectachart.htm"},
|
|
{title: "Historic", menu: "b", url: "historic.htm"}
|
|
]},
|
|
{title: "Reports", menu: "b", url: "noaareport.htm"},
|
|
{title: "Forum", menu: "n", url: "#", new_window: true},
|
|
{title: "Webcam", menu: "n", url: "#", new_window: true},
|
|
{title: "Other Links", menu: "w", submenu: true, items: [
|
|
{title: "Cumulus Forum", menu: "w", url: "#", forum: true, new_window: true},
|
|
{title: "Webcam", menu: "b", url: "#", webcam: true, new_window: true},
|
|
{title: "My Cat", menu: "b", url: "mycatpage.htm"},
|
|
{title: "Some Cat", menu: "b", url: "https://pixnio.com/free-images/2020/07/26/2020-07-26-08-52-19-1200x1200.jpg", new_window: true}
|
|
]}
|
|
];
|