HI,
my bigest problem in the last two weeks is that I can't figure this out:
- I ' m running a script which contains an infinite loop, and displays
something from time to time, with flush() method.
- this script seems to be working with one IE window openned.
- I open a new window (CTRL + N)
and the script still works
- on the third window nothing happens (the new window doesn't display the
output from the script).
This is until I stop (by pushing the stop button) one of the others
windows(as if the new window waits for the ones before to finish something).

The same thing works perfectly in Netscape, or Opera. No mather what
version.
And also if I start another IEXPLORE proces for every window in which I want
to have this script running all of them will work.


How can I solve this problem,
Please, if You have any Idea of how to solve this problem send me an email
to:              [EMAIL PROTECTED]
Here is the script code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
 <title>Untitled</title>
</head>
<script language="JavaScript">
<!--
function moves() {
if (scrolling) window.scroll(1,500000);
window.setTimeout("moves()", 100);
}
scrolling = true;
moves();
file://-->
</SCRIPT>
<BODY onBlur = "scrolling = true" onFocus = "scrolling = false">
<?
flush();
$i=0;
echo $s=0;
echo "<br>";
while(0!=5)
{
  $i=$i+1;
  $s=$s+1;
  if($s==1000)
  {
    echo $i."<br>";
    $s=0;
 sleep(3);
  }
  echo " ";
  flush();
}
?>
</body>
</html>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to