Forums

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

Home Forums JavaScript Changing something based on the browser window width Re: Changing something based on the browser window width

#67858
BaylorRae
Member

Try this

Code:
if( $(window).width() < 900 ) { console.log("Less"); }else { console.log("More"); }