> > OnLoad is probably occuring after your you're 'stop' call. > Onload generally will be called when the document gets fully > loaded. Instead put the 'go' call in the <head> of your document. > > <head> > <script ...> > function('go'); > </script> > ... > > <script ...> > function('stop') > </script> > </body> > </html> >
Weird that works when the site is on an apache server but doesn't when it's on a MS IIS server. Actually the apache server is the reason I needed this functionalitly. When the site is on a MS IIS server the little flag in IE keeps waving while the php script runs. In Apache, it doesn't. If you don't look at the status bar in IE it and see that it still says "loading http://blahblah" appears that the page has already loaded... jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php