[Javascript] Detect internet connection
Laurent Muchacho
LaurentM at london.virgin.net
Wed Feb 16 04:10:51 CST 2005
Oups Sorry,
Forget my previous email.
You might be able to follow the same kind of logic.
Try to load an image from a live server assign an onload event to this image
on the onload change the value of global variable from var live = false to
live = true have a separate process on your page with a setTimeout who will
loop for at least 2 minute and if after 2 min that variable is still false
then you can guess that the connection is not available.
Laurent
-----Original Message-----
From: Tim Burgan [mailto:email at timburgan.com]
Sent: 16 February 2005 09:47
To: [JavaScript List]
Subject: Re: [Javascript] Detect internet connection
Rod Coate wrote:
> I.E. Can you tell if a client machine has a connection to the internet.
That's the one!
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
More information about the Javascript
mailing list