Coffeebuzz Posted November 8, 2017 Share Posted November 8, 2017 is there any way to insert the animated menu icon https://www.w3schools.com/howto/howto_css_menu_icon.asp into the side nav overlay https://www.w3schools.com/howto/howto_js_sidenav.asp Link to comment Share on other sites More sharing options...
Ingolme Posted November 8, 2017 Share Posted November 8, 2017 Yes, but you have to understand how each of the two things are made. Link to comment Share on other sites More sharing options...
Coffeebuzz Posted November 11, 2017 Author Share Posted November 11, 2017 this is pretty much exactly the navigation i would like to create when the site is viewed on a mobile device http://blog.goway.com/globetrotting/2017/11/top-5-day-trips-in-the-cook-islands/ Are you able to tell me if the nav trigger is one image made up of a "hamburger" image combined with the site logo? it appears that it is all one graphic/image. But what i don't understand is how they are transitioning from the desktop menu to the mobile menu. how is this done? i mean what do i have to understand the most i.e. html, css, or javascript? thanks Link to comment Share on other sites More sharing options...
dsonesuk Posted November 11, 2017 Share Posted November 11, 2017 That is a sprite image, it removes the need to load images individually. It loads all in one go and prevents delay in the other image showing when required, then its just a matter of positioning the background image to show required image. The change from desktop to other device width is controlled by css media queries, when a set device width is reached, the layout is changed to accommodate device width. Link to comment Share on other sites More sharing options...
Coffeebuzz Posted November 12, 2017 Author Share Posted November 12, 2017 how can i do this with the w3 code? thanks Link to comment Share on other sites More sharing options...
dsonesuk Posted November 12, 2017 Share Posted November 12, 2017 Learn about responsive layout with media queries https://www.w3schools.com/css/css3_mediaqueries.asp 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