I just recently stumbled across jQuery while searching for a method to
scroll some headlines. Not only did I find a nearly perfect solution
but realized jQuery could do half the other things I wanted. All from
the same library.  So I'm impressed.


Anyway, I would like to modify the Scroll Up Headline Reader to back-
up one headline upon a button click, (ie. show the previous headline
that just went by) then refresh the interval. I was thinking I would
need a new function called headline_reverse that would basically do
the opposite of headline_rotate. I'm just having a little bit of
trouble getting my head around the actual calculations it's using to
step through and then reset to the first headline.

For the reverse or previous button I figured I would look for a click
on a "#prev" div and call the headline_reverse function. What I'm not
sure about is if there is a clean way to do this or if I should just
tack it on after the close of the hover call.

I'm also thinking it will only be a simple matter to build a next
button while doing just for niceties with whoever uses these things in
the future. I'm thinking both buttons should reset the timer after
scrolling up or down respectively.

Can anyone help me out with this. I'm not much of a programmer yet.

Reply via email to