🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.javascript
Article #188

Detecting whether IE5.5 is online or not ?

#188
From: Mervyn Carter
Date: Tue, 19 Mar 2002 17:09
24 lines
2018 bytes
I am writing a short series of pages that I want to behave differently 
when online/offline.  They will be loaded using IE5.5.

The pages will *always* load as local files.

When online, they will load in sequence using a script of
onLoad="location.url=page2[3,4]" also loading a series of IFRAMES in 
each page.

Then I want to detect when the browser is offline (ie "Work Offline" is 
selected) and in that case block the above scripts so that the page 
loaded will not load/switch to  the next in sequence. They will in this 
case fill the IFRAMES from the history cache.

Can this be done ?

Any ideas or pointers would be most welcome

Thanks friends
-- 
Mervyn Carter
================================================
NB: Spam block in use - to reply direct change THATCHER to demon
================================================
Technical Details
Message-ID: <YOtuZNA0C3l8EwSD@qcolpm.demon.co.uk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!dispose.news.demon.net!news.demon.co.uk!demon!qcolpm.demon.co.uk!Mervyn

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f76f2,b37fe43934c6065,start
X-Google-Attributes: gidf76f2,public
X-Google-Thread: fb3cb,b37fe43934c6065,start
X-Google-Attributes: gidfb3cb,public
X-Google-ArrivalTime: 2002-03-23 03:13:04 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!dispose.news.demon.net!news.demon.co.uk!demon!qcolpm.demon.co.uk!Mervyn
From: Mervyn Carter <Mervyn@qcolpm.THATCHER.co.uk>
Newsgroups: comp.lang.javascript,demon.homepages.authoring
Subject: Detecting whether IE5.5 is online or not ?
Date: Tue, 19 Mar 2002 17:09:08 +0000
Organization: Is easier with a Mindmap: See www.mindjet.com
Message-ID: <YOtuZNA0C3l8EwSD@qcolpm.demon.co.uk>
NNTP-Posting-Host: qcolpm.demon.co.uk
X-NNTP-Posting-Host: qcolpm.demon.co.uk:212.228.59.61
X-Trace: news.demon.co.uk 1016881936 nnrp-07:19910 NO-IDENT qcolpm.demon.co.uk:212.228.59.61
X-Complaints-To: abuse@demon.net
MIME-Version: 1.0
Content-Type: text/plain;charset=us-ascii;format=flowed
X-Newsreader: Turnpike Integrated Version 5.00 S <2ouSRlGaNgy4kAzX7x4DxHqfPP>
Lines: 24