Page 1 of 1

Calling Functions after a set amount of time??

Posted: Tue Feb 11, 2003 2:32 pm
by Jade
Hey there,

Since Elmseeker hasn't been on lately for me to annoy I have a quick question:

Does anyone know if there is a way to repeatedly call a function after a certain amount of time without refreshing the page? For instance, call a function again after 5 seconds have passed but not have to reoad the page to do it?

Just wondering...might be cool if there was such a thing.

Jade

Posted: Tue Feb 11, 2003 5:32 pm
by skehoe
You could try a zero pixil iFrame that points to the PHP script and set the meta-refresh tag to exec every 5 seconds... I'm not sure if you can size the Iframes that small, but if it's possible, that might be your best bet.

Posted: Wed Feb 12, 2003 5:33 pm
by Jade
Thanks,

It works.


Jade