different .js file addition depending on a screen resolution

wxdqz

New Member
i have a problem trying to load a .js file into my page depending on the screen resolution of a user. for example for a resolution of 800x600px i want small.js to be loaded, while for a resolution 1024x764px i want big.js to be loaded. how can i do that with a script? thx in advance!
 
Back
Top