incrediBILL - 6:47 am on Oct 9, 2012 (gmt 0)
I was hoping to avoid css as it makes it much more complicated. Is there some sort of java that I can put into the html body? I don't know the correct coding, but something like this:
Um, no, CSS actually makes thinks LESS complicated instead of having attributes strewn all over the source file which is bulky and grossly inefficient.
However, client side in the browser it could do something like this...
if(screen.width <= '480')
document.write( "<img src='/images/small.jpg'>" );
if(screen.width <= '800')
document.write( "<img src='/images/medium.jpg'>" );
document.write( "<img src='/images/large.jpg'>" );
Just an idea how it might be done off the top, didn't test the code, don't know if it's even valid.