The following description will probably make a lot more sense if you look at this page while reading the description below:
Here's the deal. I have a few scripts strung together that allows the user to use the Up and Down Arrow keys on the phone to control the scrolling of the content in the phone display. Those all work beautifully. No problems so far.
I recent added another script that "auto-scrolls" the content after a delay if the user doesn't scroll the content themselves. This is something that some cell phones currently do and I'm trying to mimic that functionality. If you go the page above and wait for four seconds the content should scroll to the bottom and then back up to the top. This also works beautifully.
Here comes the part I just cannot figure out. If at any time the user scrolls the content themselves (either up or down), the "auto-scrolling" should never happen. So for example, load this page wait four seconds until the auto-scrolling begines and then click either the Up or Down Arrow keys. At that point, the auto-scrolling should stop and the user should be in total control.
So it seems to me that all I really need to do is figure out how to bail out of the auto-scrolling function as soon as the user clicks either the Up or Down Arrow key.
P.S. All of the of the scripts are right on the page above and I think they are pretty easy to understand.