Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ranguvar

macrumors 6502
Original poster
Sep 18, 2009
318
2
Hi,

on my website, I want to display different images for different window sizes (basically, the image will be larger in larger windows, but I can't just scale the image). The website will also have to keep track of the window size, so it can show the appropriate image.

What is the easiest way to do this with HTML/CSS/JavaScript?

Thanks!
- ranguvar
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.