Hide the full menu for users - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Hide the full menu for users (/showthread.php?tid=5337) |
Hide the full menu for users - SigmaTec - 04.04.2024 Hi all, I know how to hide a menu item (#1) in JS with $('#menu-plan-1').prev().hide(); but how to hide, in JS, the full menu with uniquely one instruction line ? Have a good day, All my best. RE: Hide the full menu for users - admin - 04.04.2024 You can disable the menu completely in Utilities > Vis. configuration > Usermode sidebar. RE: Hide the full menu for users - SigmaTec - 04.04.2024 Yes, I know this method, but I have to control the menu hide for users, not admin. Is there a JS instruction for this please ? RE: Hide the full menu for users - admin - 04.04.2024 Code: $('.menu').hide() RE: Hide the full menu for users - SigmaTec - 04.04.2024 works fine ! Thank's Admin. |