From 1783fbb5e7fa040d074857812e144803ed9f4504 Mon Sep 17 00:00:00 2001 From: "nisha.meshram" Date: Sat, 29 Aug 2026 11:19:16 +0000 Subject: [PATCH] Upload files to ".Net Capstone Project" --- .Net Capstone Project/Updatedslidbar.js | 87 +++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 .Net Capstone Project/Updatedslidbar.js diff --git a/.Net Capstone Project/Updatedslidbar.js b/.Net Capstone Project/Updatedslidbar.js new file mode 100644 index 0000000..eae82b1 --- /dev/null +++ b/.Net Capstone Project/Updatedslidbar.js @@ -0,0 +1,87 @@ +// Single source of truth for the left navigation on EVERY page. +// +// Why this file self-initialises: +// The old version only drew the menu when a page explicitly called +// renderSidebar('key'). Only dashboard.js and resource-page.js did that, so +// any page with its own custom script (or its own hardcoded