Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
To link to Omni Panel and open it
#3
For the link to scroll to the panel use this 



<script>
document.addEventListener("DOMContentLoaded", function () {
    const params = new URLSearchParams(window.location.search);
    const panel = params.get("panel");

    if (panel) {
        const tab = document.getElementById("p7OPMtg_1_" + panel);
        const panelWrap = document.getElementById("p7OPMpw_1");

        if (tab && panelWrap) {
            setTimeout(function () {
                // Open panel
                tab.click();

                // Smooth scroll to panel area
                panelWrap.scrollIntoView({
                    behavior: "smooth",
                    block: "start"
                });
            }, 250);
        }
    }
});
</script>
Reply


Messages In This Thread
RE: To link to Omni Panel and open it - by bizpat (Patrice) - 12-25-2025, 02:07 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)