title: php ob_flush : How do I make the browser window/page scroll down with the output?
body: <p>Searched a fair bit but couldn't find much about this..</p>
  
  <p>I have a page that is processing quite a few things through a loop, and I have put this at the top of the php page:</p>
  
  <pre><code>ob_implicit_flush(true);
  ob_end_flush();
  </code></pre>
  
  <p>This is happily pumping out the loop to my browser window, but the content is scrolling off the bottom of the page, and I have to keep scrolling down manually. So my question is: <strong>How do I get the page or browser window to scroll with the content?</strong></p>
  
  <p>I read somewhere using javascript setInterval to start and end scrolling might do the trick, and it sounds like that might be the case - just make the page start scrolling at the beginning of the script and end when it ends.. but I'm not great with javascript yet so was hoping someone could tell me how to do it?</p>
  
  <p>Another solution I can think of is to somehow get javascript to force focus on a particular element class or something as it is being generated.. but this seems like a potentially clunkier option..</p>
  
  <p>Any quick tips would be great.</p>
  
  <p>Thanks!</p>