I\'m working on a mobile version of my site. I\'m using media queries and CSS as much as possible, but I\'m also using some javascript to, for example, turn my navigation in
Is the assumption wrong, that you only want to have the effect of the resize event on a non-touch device? If so you could just use Modernizr and do a check like:
$(window).resize(function(e){
if(Modernizr.touch) {
e.preventDefault();
}
});
Check if your explicitly scrolling the html body wrapper to hide the address bar when the page loads.