Show different images based on window size?

Discussion in 'Web Design and Development' started by ranguvar, Aug 27, 2010.

  1. ranguvar macrumors 6502

    Joined:
    Sep 18, 2009
    #1
    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
     
  2. ranguvar thread starter macrumors 6502

    Joined:
    Sep 18, 2009
    #3

Share This Page