I am building a menu for a responsive website - my query is what people think is the best solution for showing / hiding the menu.
I have setup the menu in this jsfiddle - http://jsfiddle.net/paul_dance/5z7rvvn4/2/
The menu is hidden at 768px and a button is show - I was thinking of adding a simple js script
$('.menu-btn).click(function(){
$('nav ul').slidetoggle();
});
or similar..
which toggles the menu on click - but my fear is if the user hides it again then expands their screen beyond 768 the menu will remain hidden and no button present to re-show.
Is there a better cross browser / device solution available? Or a CSS only solution? This needs to work on IE8 also.