Jump to content


Photo

How to set up a "pause" in an Javascript array?


  • Please log in to reply
No replies to this topic

#1 pewee

pewee
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 07 September 2006 - 11:37 AM

Hello I need help to set up 2 things in a Javascript

that is my script

script>

var Engines = new Array (
"/member.php?sendmessageto=189",
<----- I NEED TO HAVE 10 SEC PAUSE HERE TO WAIT FOR URL TO LOAD ------>
"/member.php?sendmessageto=188",
<----- I NEED TO HAVE 10 SEC PAUSE HERE TO WAIT FOR URL TO LOAD ------>
"/member.php?sendmessageto=187"
);

function openPage (favorites)
{
for (i = 0; i < favorites.length; ++i)
open (favorites[i]);
}

</script>

THANKS FOR ANY HELP




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users