/ Published in: Other
Is there a way to make it load just a certain image rather than loading a different page? yep, instead of window.location, you'd use document[imgname].src=imgsrc; instead. just make sure to name your image like this .
Expand |
Embed | Plain Text
<SCRIPT language="JavaScript"> <!-- if ((screen.width>=1024) && (screen.height>=768)) { window.location="highres.html"; } else { window.location="lowres.html"; } //--> </SCRIPT>
You need to login to post a comment.
