Forums

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?

#169171
Anonymous
Inactive

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.

http://codepen.io/Jarolin/pen/jvkwF