Handles the focus event on menu bar items, displaying the corresponding category div and hiding others.
function inFocus() {
// ... Function code ...
}
Checks the display status of items and adjusts the visibility of the default item accordingly.
function checkItemsDisplay() {
// ... Function code ...
}
Updates the time range and fetches new excess reports based on the selected start and end dates.
function time_update() {
// ... Function code ...
}
Retrieves the value of a cookie by its name.
Parameters:
name
(string
): The name of the cookie.
function getCookie(name) {
// ... Function code ...
}