Article View: microsoft.public.inetsdk.programming.scripting.jscript
Article #22Re: NN-f�hig machen
From: Rafael Rasinger
Date: Wed, 13 Oct 1999 00:00
Date: Wed, 13 Oct 1999 00:00
41 lines
1895 bytes
1895 bytes
Dear reader!
I need the code below to work in NN. But I do not know how to perform it.
could u give me a hint?
The code performs following function, which perfectly works in MSIE: After
reaching a certain timeout time, (triggered by not moving the mouse) an
timeout-page should be loaded [represented by "alert("Screen saver on")"].
Could u give me a hint?
Thanks 4 ur help, Rafael
*********
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.800" name=GENERATOR>
<STYLE></STYLE>
<SCRIPT language=JavaScript>
var cnt=0;
function cIt(){
MyTimer.innerText=cnt;
if(cnt++>=2) alert("Screen saver on : )");
else setTimeout("cIt()",1000);
}
</SCRIPT>
</HEAD>
<BODY onkeydown=cnt=0 onload=cIt() onmousemove=cnt=0;>
<DIV id=MyTimer></DIV>
</BODY>
</HTML>
Technical Details
Message-ID:
<380437bc@news.kapsch.co.at>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<38043687@news.kapsch.co.at>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4a5,6ee5ae86b5cf8c90,start X-Google-Attributes: gid10d4a5,public X-Google-Thread: 10731d,6ee5ae86b5cf8c90,start X-Google-Attributes: gid10731d,public X-Google-Thread: 10c71c,6ee5ae86b5cf8c90,start X-Google-Attributes: gid10c71c,public X-Google-Thread: fb3cb,6ee5ae86b5cf8c90,start X-Google-Attributes: gidfb3cb,public From: "Rafael Rasinger" <rasinger@atc.co.at> Subject: Re: NN-f�hig machen Date: 1999/10/13 Message-ID: <380437bc@news.kapsch.co.at> X-Deja-AN: 536147748 References: <38043687@news.kapsch.co.at> X-Original-NNTP-Posting-Host: 193.80.86.140 X-Trace: 13 Oct 1999 09:41:48 +0100, 193.80.86.140 Organization: Kapsch AG; Vienna, Austria X-MSMail-Priority: Normal X-Priority: 3 Newsgroups: microsoft.public.inetsdk.programming.scripting.jscript,microsoft.public.scripting.jscript,borland.public.intrabuilder.javascript,comp.lang.javascript X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@kapsch.net