Closed zxo102 closed 3 years ago
I got my solution by inserting
//for example, the original left siderbar menu can be classified by two groups: "001" and "002"
<div id='001' style="display block>...</div>
<div id='002' style="display none>...</div>
into AdminLTE3/index.html as follows: ....
<nav class="mt-2">
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
//for example, the original left siderbar menu can be classified by two groups: "001" and "002"
<div id='001' style="display block>...</div>
<div id='002' style="display none>...</div>
</ul>
</nav>
These two divs can be toggled by Js scripts. It works fine now with "expand" and "collapse".
Hi, there:
I modify AdminLTE3/index.html from
to
As a result, id “001” and "002" divs can be switched with
display:block
anddisplay:none
.Everything is fine but the left sidebar menu can be expanded and can not be collapsed. With id "001" and "002" divs as above, for example,
Thanks a lot for any suggestions to fix it.
B.S (Keeping only one div of them: either "001" or "002", "expand" and "collapse" works fine).
Environment :