* Thus wrote Torsten Roehr ([EMAIL PROTECTED]):
> 
> I have the script start when the page loads with an
> onload=function('go') in the <body> tag.
> 
> But I need someway to turn it off... A simple:
> 
> Echo "<script>function('stop')</script>"; at the end of the page

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>

 
Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to