-
☆ A M B ☆
- 350 Posts
Yes, an I think that is a better way... that is why I made the tutorial.
better because...
edit - looked at your tutorial (I had only looked at the Smashing page) - I agree that your approach is simpler/better:
the Smashing article uses js both to create the mobile navigation and to enable it; your tutorial describes creating a page with both navigation types on it, using media queries to display the appropriate one and js to enable the select list as navigation.
Any ideas on fixing the back button - your demo does not update the text of the select box when using the back button, so the navigation box is telling me I'm somewhere that I'm not.
[ed. note: whistlemaker last edited this post 14 years, 5 months ago.]
-
☆ A M B ☆
- 350 Posts
Thank you for your suggestion! Will look into it.
I guess it depends on who you ask what is 'better' (what does that mean anyway?)
The tut on SM uses more JS or it needs more skills on the development end...
My version creates a duplicate of the nav, you could argue that that is a bad thing to do, bit I prefer this to needing to write more JS...
nice tutorial. Still I think that small resolutions with today mobile devices is no longer a major factor. Currently my main concern is the ability to use the site with touchscreens which in wayfinder doesn’t work. Still a grate tut, I'll definitely use it!
Check out blackflow.pl