Hi there,
First off thank you for reading.
I'm trying to get the following to work.
I want a script that does the following 9 times: jah(urlOne); and then
1 time: jah(urlTwo); then it should start at the top again.
There has to be a break in between, thats why i have the wait function
there.
Hope anybody can help me because i'm not seeing my mistake and can't
think clear any more.
Thank you for reading.
<script language="javascript" type="text/javascript">
var urlOne="messageCenter.php, msgOne";
var urlTwo="messageBanner.php, msgOne";
var waitTime="1000";
alert (urlOne);
function wait(msecs)
{
var start = new Date().getTime();
var cur = start
while(cur - start < msecs)
{
cur = new Date().getTime();
}
}
alert (urlOne + " voor de statment");
jah(urlOne);
alert (urlOne + " na de statment");
wait(waitTime);
</script>