Closed markcy closed 10 years ago
@markcy, you're right, the SlickNav website was not setup properly, partially due to the fact it is all one page. To solve your issue, if you look under the "Initialize" section on the site or after the "methods" on the readme, you can see how you can utilize something like modernizr to not hide the original menu if there is no javascript using the ".js" class. Because the SlickNav script by default creates and styles it's own menu it does not interfere with the original. Unfortunately if you set the duplicate option to false it will still style the original menu which may not be desired if javascript is disabled.
Great! Thanks for the clarification. I'll give it a try.
No problem! The SlickNav css has been tweaked a bit to reflect better what happens without JS. The empty space has now been removed and it is structured properly. Thanks!
As far as I can see, when javascript is disabled, the entire slicknav menu disappears. What is the graceful degradation here? Or did I miss something I needed to include?
**edit
I was mistaken, I do see the degradation on the demo site. Though, I'm not getting that on my own implementation. Is this functionality not out of the box?
Thanks.