Default Website Development: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
Line 69: Line 69:
   .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
   .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


[[File:Screenshot 2024-03-20 at 12.38.12.png|800px]]
some text
menuSrc = [
    {title: "Now",        menu: "b",  url: "index.htm"},
    {title: "Today:,      menu: "b",  url: "today.htm"},
    {title: "Yesterday",  menu: "b",  url: "yesterday.htm"},
    {title: "Today-Yest",  menu: "b",  url: "todayyest.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: "monthmlyrecords.htm"},
    ]},
    {title: "Charts",      menu: "b",  submenu: true,  items: [
        {title: "Trends",        menu: "b",  url: "trends.htm"},
        {title: "Select-a-graph", menu: "b",  url: "selectchart.htm"},
        {title: "Historic",      menu: "b",  url: "historic.htm"},
    ]},
    {title: "Reports",    menu: "b",  url: "noaareport.htm"},
    {title: "Forum",      menu: "b",  url: "#",  forum: true,  new_window: true},
    {title: "Webcam",    menu: "b",  url: "#",  webcam: true}
];


* If you want to change the language, simply enter translations for the titles only.
* If you want to change the language, simply enter translations for the titles only.
320

edits

Navigation menu