Trying to have an image shown from another server if the original image isn’t available (webcam online/offline) using this script:
[CODE]document.write(‘<a href=”http://www.cosmicgoober.com/cam/index.htm” onclick=”window.open(‘http://www.cosmicgoober.com/cam/index.htm’,’popup’,’width=340,height=260,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0′);return false” title=”GooberCam!”><img src=”http://192.xx.xx.xx:8000/cam_1.jpg?preview=1″ alt=”Latest Cam image” border=”0″ /></a>’);
Of course it doesn’t work because of the onclick=”window.open(‘http……..
Is there any way to modify this script so that I can get it to do what is needed??
Any help would be EXTREMELY appreciated….