I am creating a responsive site where I am using a slide out panel to diaplay content on the desktop version.
For my tab/mob site I would not be using this, because it will look weird along with the responsive mobile navigation.
I would like to find a way to enable/disable this slide out JS, without realoding the site.
I have been looking at the following posts, but these all requires that I reload the page, none of them allow me to enable/disable the JS only based on screen re-size.
how to disable javascript for responsive design
disabling javascript plugin based on window size
jQuery: Disable & Enable Plugin based on browser window size?