The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jquery window width condition Re: jquery window width condition


I know it’s better with media queries but the problem is that I want to display the #header only when a button is clicked only when the browser width is greater than 800px because I do not want to alter the css properties for mobile devices