0
huntethan89 created
Hi, I need a condition in which i can hide menus of left side.
Lets assume i have 7 menus of left side. i open first page and there is button on that page. On click of that button i want to hide first 5 menus and show only 6 and 7 menu item.
How can i achieve this?
Thanks
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
0
Hi,
This is not related to AspNet Zero actually, but you can hide any element using jquery on the client side. For example you can hide first menu item like this. You can do the same for other menu items you want to hide.
$("ul.page-sidebar-menu li:eq(0)").hide();Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)