In article <>,
enlightened us
with...
>
> I need to put content from web presentation on CD... interface contains
> external links (absolute urls..) is there a way to detect if user is
> connected to the internet (so if they're not I can pop an alert saying
> 'sorry, you're not connected...' etc..) this is for CD's that will be
> widely distributed/sold.. so needs to be 'bulletproof'... (that it
> doesn't by error detect user is not connected if they are and
> vice-versa, etc..)
Yes, but not with javascript appropriate to this group.
It would be OS-dependent code. For windows, you could use the windows API to
check that, but that would have to be done in C or VB (J#.net, etc). JScript
in .net is the closest you'll be getting to javascript.
I don't know of any other *reliable* way to check other that that.
--
--
~kaeli~
A midget fortune teller who escapes from prison is a small
medium at large.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace