This is more of a JavaScript than a PHP question. Maybe you could search
google for 'stop JavaScript function' or something.

Torsten

"Jeff McKeon" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> [snip]
> Is this possible?
> [/snip]
>
> Anything is possible!
>
> Have you considered echoing the javascript code out via PHP?
>

Yes, but I can't seem to get the right javascript code figured out.

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

doesn't seem to work. Should it?

Jeff

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

Reply via email to