cross browser - What's the JavaScript equivalent of CSS Media Queries? -


i'm experienced in using media queries target css specific browser sizes/or contexts, i'm interested in doing js, having more control on how scripts run on browsers of different abilities.

i'm not asking how duplicate functionality of media queries in js, more methods controlling code gets run on browsers?

is there method or system give me control without resorting detecting browsers?

there isn't control how code run unless ground work in detecting situations want code run in , wrapping things in if blocks. can use conditional statements in html, if blocks in generating server code, or in js itself.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -