Re: Call to external function

From: Date: Sun, 25 Apr 2004 16:02:18 +0000
Subject: Re: Call to external function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-184569@lists.php.net to get a copy of this message
Jeff McKeon wrote:
No... PHP and JavaScript are executing at different time and at different place. Besides, they are executed by different programs. Are you trying to measure execution time of a query?? Look at: http://www.php.net/microtime
No, I'm trying to get a little animation on the left frame to start when a query begins a pull (when the page begins to load) and then stop the animation when the page and data are fully loaded.
I suppose that the action is triggered by a link. Then you can put the 'start' javascript code in onclick event of that link. The 'stop' code would go into onload event of the document body tag.

« previous php.general (#184569) next »