Article View: microsoft.public.inetsdk.programming.scripting.jscript
Article #20Re: Timeout (DHTML Post)
From: Rafael Rasinger
Date: Tue, 12 Oct 1999 00:00
Date: Tue, 12 Oct 1999 00:00
117 lines
5263 bytes
5263 bytes
This is a multi-part message in MIME format.
------=_NextPart_000_0011_01BF14BB.47C13EF0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi Vidar Petursson!
Thanks a lo for your help! but I need it to work in NN too.
So I would need it in JS, I suppose!
Vidar Petursson <icysoft@vortex.is> schrieb in im Newsbeitrag: =
uNa0nwJF$GA.248@cppssbbsa04...
Hi
Its "easy"
It will timeout at 10 and reset to 0 onmousemove &onkeydown
--=20
Best Regards
Vidar Petursson
http://www.icysoft.com
TheKing@icysoft.com
icysoft@vortex.is
No matter where you go there you are
-
Rafael Rasinger <rasinger@atc.co.at> wrote in message =
news:3802fe4a@news.kapsch.co.at...
> Dear reader!
>=20
> Want to program a timeoutfeature... which enables me that if on a =
loaded
> page no mouse is moved, after a certain time another (timeout-)page =
is
> loaded.
>=20
> Is it possible in JS?
>=20
> Thanks a lot 4 your help!
>=20
>=20
------=_NextPart_000_0011_01BF14BB.47C13EF0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
<SCRIPT language=3DJavaScript>
var cnt=3D0;
function cIt(){
MyTimer.innerText=3Dcnt;
if(cnt++>=3D10) alert("Screen saver on : )");
else setTimeout("cIt()",1000);
}
</SCRIPT>
</HEAD>
<BODY bgColor=3D#ffffff onkeydown=3Dcnt=3D0 onload=3DcIt() =
onmousemove=3Dcnt=3D0;>
<DIV><FONT face=3DArial size=3D2>Hi Vidar Petursson!</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks a lo for your help! but I need =
it to work in=20
NN too.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>So I would need it in JS, I =
suppose!</FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV>Vidar Petursson <<A=20
href=3D"mailto:icysoft@vortex.is">icysoft@vortex.is</A>> schrieb in =
im=20
Newsbeitrag: uNa0nwJF$GA.248@cppssbbsa04...</DIV>
<DIV><FONT face=3DArial size=3D2>Hi</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Its "easy"</FONT></DIV>
<DIV> </DIV>
<DIV id=3DMyTimer></DIV>
<DIV><BR><FONT face=3DArial size=3D2>It will timeout at 10 and reset =
to 0=20
onmousemove &onkeydown</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>-- <BR>Best Regards<BR> Vidar=20
Petursson<BR></FONT><A href=3D"http://www.icysoft.com"><FONT =
face=3DArial=20
size=3D2>http://www.icysoft.com</FONT></A><BR><A=20
href=3D"mailto:TheKing@icysoft.com"><FONT face=3DArial=20
size=3D2>TheKing@icysoft.com</FONT></A><BR><A=20
href=3D"mailto:icysoft@vortex.is"><FONT face=3DArial=20
size=3D2>icysoft@vortex.is</FONT></A></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>No matter where you go there you=20
are<BR>-</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Rafael Rasinger <</FONT><A=20
href=3D"mailto:rasinger@atc.co.at"><FONT face=3DArial=20
size=3D2>rasinger@atc.co.at</FONT></A><FONT face=3DArial size=3D2>> =
wrote in=20
message </FONT><A href=3D"news:3802fe4a@news.kapsch.co.at"><FONT =
face=3DArial=20
size=3D2>news:3802fe4a@news.kapsch.co.at</FONT></A><FONT face=3DArial=20
size=3D2>...</FONT></DIV><FONT face=3DArial size=3D2>> Dear =
reader!<BR>>=20
<BR>> Want to program a timeoutfeature... which enables me that if =
on a=20
loaded<BR>> page no mouse is moved, after a certain time another=20
(timeout-)page is<BR>> loaded.<BR>> <BR>> Is it possible in=20
JS?<BR>> <BR>> Thanks a lot 4 your help!<BR>> <BR>>=20
</FONT></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0011_01BF14BB.47C13EF0--
Technical Details
Message-ID:
<380324be@news.kapsch.co.at>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3802fe4a@news.kapsch.co.at> <uNa0nwJF$GA.248@cppssbbsa04>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4a5,c4e04f57b7d8be61 X-Google-Attributes: gid10d4a5,public X-Google-Thread: 10731d,c4e04f57b7d8be61 X-Google-Attributes: gid10731d,public X-Google-Thread: fb3cb,c4e04f57b7d8be61 X-Google-Attributes: gidfb3cb,public X-Google-Thread: fcc66,c4e04f57b7d8be61 X-Google-Attributes: gidfcc66,public X-Google-Thread: 10c71c,c4e04f57b7d8be61 X-Google-Attributes: gid10c71c,public From: "Rafael Rasinger" <rasinger@atc.co.at> Subject: Re: Timeout (DHTML Post) Date: 1999/10/12 Message-ID: <380324be@news.kapsch.co.at> X-Deja-AN: 535778751 References: <3802fe4a@news.kapsch.co.at> <uNa0nwJF$GA.248@cppssbbsa04> X-Original-NNTP-Posting-Host: 193.80.86.140 X-Priority: 3 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0011_01BF14BB.47C13EF0" X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@kapsch.net X-Trace: 12 Oct 1999 14:08:30 +0100, 193.80.86.140 Organization: Kapsch AG; Vienna, Austria X-MSMail-Priority: Normal MIME-Version: 1.0 Newsgroups: microsoft.public.inetsdk.programming.scripting.jscript,microsoft.public.scripting.jscript,borland.public.intrabuilder.javascript,comp.lang.javascript,de.comp.lang.javascript