How do I load 2 different size images based on viewport?
For example, take two images: "image1.jpg" and "image2.jpg".
If (window.open[this.selectedindex].value > 320)
then I want to load image2.jpg, otherwise I want to
load image1.jpg instead.
Problem is: How do I specify which image to load in the <img> tag?
Any solution or suggestions would be greatly appreciated!
-Ken
-
WPThemeGuru -
[ 1 ] Thanks - 2 replies
{{ DiscussionBoard.errors[10041728].message }}-
rhinocl -
Thanks
Signaturecheap search engine optimization{{ DiscussionBoard.errors[10041966].message }} -
-
kenetrix -
Thanks
{{ DiscussionBoard.errors[10042149].message }} -
-