TH71 Posted February 13, 2020 Share Posted February 13, 2020 Is it possible to add Sub/Dropdown Menus to the Collapse Sidepanel https://www.w3schools.com/howto/howto_js_collapse_sidepanel.asp like the Dropdown Menu in Sidenav https://www.w3schools.com/howto/howto_js_dropdown_sidenav.asp Thanks Link to comment Share on other sites More sharing options...
niche Posted February 13, 2020 Share Posted February 13, 2020 Everything is possible with code. what might your code look like if you tried to that? Link to comment Share on other sites More sharing options...
TH71 Posted February 19, 2020 Author Share Posted February 19, 2020 Thanks I have tried all sorts but although still learning I am not exactly great with code I have tried adding <button class="dropdown-btn">Dropdown <i class="fa fa-caret-down"></i> </button> <div class="dropdown-container"> <a href="#">Link 1</a> <a href="#">Link 2</a> <a href="#">Link 3</a> into any of the below <a href="#"></a> <div id="mySidepanel" class="sidepanel"> <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a> <a href="#">About</a> <a href="#">Services</a> <a href="#">Clients</a> <a href="#">Contact</a> </div> but it is does not work Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now