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

Home Forums JavaScript Media Queries for JS? Reply To: Media Queries for JS?


Something like this? you can run js code when the browser width is bellow or above a certain point. changing the background to blue if above, and to red when below is an example. You can put any JS code between.