Quantcast
Channel: Need Help with looping arrays | WPDFD.com Forums
Browsing latest articles
Browse All 7 View Live

Image may be NSFW.
Clik here to view.

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 Article



Ratznjammers 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 Article

David 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 Article

Joe 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 Article

Ratznjammers 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 Article


Joe 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 Article

Ratznjammers 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
Browsing latest articles
Browse All 7 View Live


Latest Images