Re: possible java script question



<input type="text" size="10" id="timer" value="60">
<input type="text" size="5" id="timer" value="60" style="font-size: 14pt"
name="timer">
<script type="text/javascript"><!--
var timeLeft = 60;
function setTimer()
{
if (timeLeft > 0) timeLeft--;
document.getElementById("timer").value = timeLeft;
}
setInterval("setTimer()", 1000);
//--></script>

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.

"Paul" <Paul@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1D7B9036-B065-4CE8-A4AA-8DE85E8D6F4D@xxxxxxxxxxxxxxxx
> Hi I have a .net application that shows the start page for a few seconds
> and
> then goes to another start page. I was wondering if it would be possible
> to
> put a count on the page to let the user know how much time is left before
> it
> goes to the other page, thanks.
> --
> Paul G
> Software engineer.


.



Relevant Pages

  • Re: VS 2005 LoaderLock problem
    ... >> Microsoft MVP ... >> .Net Developer ... >> You can lead a fish to a bicycle, ...
    (microsoft.public.dotnet.framework)
  • Re: possible java script question
    ... and the bicycle has to *want* to change. ... >> Microsoft MVP ... >> ..Net Developer ... >> You can lead a fish to a bicycle, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: XML Deserialization
    ... Microsoft MVP ... ..Net Developer ... You can lead a fish to a bicycle, ... and the bicycle has to *want* to change. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Visual Studio is Busy
    ... and the bicycle has to *want* to change. ... > baloon will popup in the lower right corner of the screen saying "Visual ... >> Microsoft MVP ... >> ..Net Developer ...
    (microsoft.public.vsnet.general)
  • Re: searching through tables
    ... Microsoft MVP ... ..Net Developer ... You can lead a fish to a bicycle, ...
    (microsoft.public.dotnet.languages.csharp)