View Single Post
Old 04-17-2003, 03:07 PM   PM User | #7
jalarie
Regular Coder

 
Join Date: Jun 2002
Location: Flint, Michigan, USA
Posts: 593
Thanks: 1
Thanked 19 Times in 19 Posts
jalarie is an unknown quantity at this point
I use an img tag to pull something that I know exists from my target, and JavaScript to pull something from my own machine if the img from the target fails. Maybe you could build from this:

<script type="text/javascript">
&nbsp;Now=new Date();
&nbsp;Out ='<img src="http://target.com/green.gif';
&nbsp;Out+='?'+Now*1;
&nbsp;Out+='" onerror="this.src=\'red.gif\'"/>\n';
&nbsp;document.write(Out);
</script>
__________________
Visit my site at http://spruce.flint.umich.edu/~jalarie/.
jalarie is offline   Reply With Quote