JeanJensen Posted February 21, 2018 Share Posted February 21, 2018 (edited) Hi all, I'd like to combine these two: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_topnav &https://www.w3schools.com/howto/howto_css_mega_menu.asp - so that when the mega-menu is viewed on a smaller screen than 600px, the menu-line only show the 3 dashed menu-icon. But how? Edited February 21, 2018 by JeanJensen Link to comment Share on other sites More sharing options...
dsonesuk Posted February 21, 2018 Share Posted February 21, 2018 You would have use the same JavaScript manipulate the megamenu in same way, and adjust css media queries to reflect the changes in device width responsiveness. https://www.w3schools.com/code/tryit.asp?filename=FOOEUNY795ST Link to comment Share on other sites More sharing options...
JeanJensen Posted February 22, 2018 Author Share Posted February 22, 2018 Damn 18 hours ago, dsonesuk said: You would have use the same JavaScript manipulate the megamenu in same way, and adjust css media queries to reflect the changes in device width responsiveness. https://www.w3schools.com/code/tryit.asp?filename=FOOEUNY795ST Damn you're good! Thanks for inlightning!!! 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