[thelist] SetTimeout & ClearTimeout

jelle desramaults nsg_chong at hotmail.com
Thu Sep 13 02:31:17 CDT 2001


thx, that did the job (finally!) ;)


Jelle Desramaults
www.sitekick.be


----- Original Message ----- 
From: Gerenday, Perry (P.) <pgerenda at visteon.com>
To: <thelist at lists.evolt.org>
Sent: Wednesday, September 12, 2001 9:50 AM
Subject: RE: [thelist] SetTimeout & ClearTimeout


> Just a quick response here - no real time to explorer further.
> 
> clearTimeout(time) ---- don't capitalize the "c".
> 
> Perry Gerenday, Visual Communications Artist
> www.virtually-artistic.com
> 
> 
>  > -----Original Message-----
>  > From: jelle desramaults [mailto:nsg_chong at hotmail.com]
>  > Sent: Wednesday, September 12, 2001 8:24 PM
>  > To: thelist at lists.evolt.org
>  > Subject: [thelist] SetTimeout & ClearTimeout
>  >
>  >
>  > evolters,
>  >
>  > I hava a little timeout that should run for 0.5 seconds
>  > normally but should
>  > stop on an event.
>  >
>  > I just prepared a little bit of code for you to comment  ...
>  >
>  > ------------
>  >
>  > var time
>  >
>  > function hideTimed(id) {
>  >
>  > if (ns4) time = setTimeout("document.layers['"+id+"'].visibility =
>  > 'hide';",500)
>  >  else if (ie4) time =
>  > setTimeout("document.all['"+id+"'].style.visibility =
>  > 'hidden';",500)
>  >  else if (ns6) time =
>  > setTimeout("document.getElementById('"+id+"').style.visibility =
>  > 'hidden';",500)
>  >
>  > ClearTimeout(time)
>  >
>  > }
>  >
>  > ------------
>  >
>  > this one gives me a nasty little error ["Object Expected"] ,
>  > pointing to the
>  > line containing
>  > the clearTimeout. (only in homesite though, online i there's
>  > no error bu
>  > tthe cleartimeout
>  > just doesn't excecute) I'm kinda stuck, any insight at all
>  > would be very
>  > nice.
>  >
>  > if anybody feels like checking the whole document :
>  > http://www.sitekick.be/testarea/b3_nav2.html
>  >
>  > Jelle Desramaults
>  > www.sitekick.be
> 
> 
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
> 




More information about the thelist mailing list