RE: [PHP] Call to external function
| From: | Jeff McKeon | Date: | Fri, 23 Apr 2004 18:12:14 +0000 |
| Subject: | RE: [PHP] Call to external function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-184447@lists.php.net to get a copy of this message | ||
>
> 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