Never mind - I figured it out - it was just me being retarded.
On May 12, 11:13 am, furby <[email protected]> wrote:
> I have a very simple gadget I am trying to write. It's for myself (Not
> really to be shared with others) that simply displays a webcam I set
> up in my apartment in order to make sure my cat is okay during the hot
> days of summer (I worry). Getting the image is no problem - it's
> simply uploaded as an FTP once every 30 seconds... displaying it is no
> problem... But refreshing it is the problem.
>
> I am trying something like this (This displays a public webcam of
> clearwater beach in florida) :
>
> function refresh(){
> html = "<img src=http://www.beachtourism.com/webcams/capture2.jpg'
> width='300'>";
> _gel("display").innerHTML = html;
> setTimeout(refresh(), 15000);
>
> }
>
> I would think that would work, since all it does is show the webcam
> image, wait for 15 seconds and shows the image again... but the
> browser complains about too much recursion (Which makes sense, since
> this is a recursive function). How do I make it work?
>
> I know this has probably been asked many times (I did a search) but
> none of the explanations made sense to me as I read through them...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---