David said:
Here's some pseudo code: for(;{ //infinite loop for (i=0;i<10;i++){ // counts up from 1 to 9 load i.html; refresh_clock(); }}>> why would you have me re-write the whole code? when...
View ArticleRatznjammers said:
function forward() { if ( site == (num_sites - 1) ) [[ change this to ( site == 9 ) ???? alert('Last site!') [[ change this alert to a call to site=0 ]] ???? else { site++; counter = delay;...
View ArticleDavid said:
If I recall correctly, Firefox doesn't allow recurrsive looping. At least, the option is available but switched off by default. Something to bear in mind.
View ArticleJoe Gillespie said:
If is was a simple as that, I would, but your approach is all wrong. If you use the timer method more than a few times in succession, all those timer calls fill up memory (the stack) very quickly and...
View ArticleRatznjammers said:
Thank you for the input, however I am unable to understand what you are talking about as I am very new to Javascript and I keep going around in circles.If possible can you just tell me where and what...
View ArticleJoe Gillespie said:
The way to do this, instead of firing off timers all over the place is simply to read the Date object and use getTime() in a recursive loop. Check this...
View ArticleRatznjammers said:
The following code loops one time .... I would like it to loop indefinitely ...Can anyone help?<head><title>SurfBoard - Riding the Internet wave!</title><script...
View Article