This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Hide the full menu for users
#1
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.
Reply
#2
You can disable the menu completely in Utilities > Vis. configuration > Usermode sidebar.
Reply
#3
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 ?
Reply
#4
Code:
$('.menu').hide()
$('.layers').css('left', 0)
Reply
#5
works fine !
Thank's Admin.
Reply


Forum Jump: