Can you post a link to the page? I’m pretty sure it’s not possible, because all that this effect does is store a reference to the current item, and then look ahead to see if there’s a “next” item. But there may be a way to force the current item to be the last item on the page, which would cause it to roll over to the beginning again.
Walter
On May 17, 2011, at 7:38 PM, DeltaDave wrote:
The Sequence Timer Play/Pause button will start/pause the sequence while it is running but it will not reset the sequence so it can be repeated.
I’ll look at this when I’m out of the pub and back in the conference center. Tonight, after the evening keynote, we’re having a jam session, and I get to show off my amazing guitar chops.
The conference has been great. Met some heroes, got the author of Nokogiri to add a feature I need for my ePub builder project, I’m pretty pleased with having made the trip.
Walter
On May 18, 2011, at 4:06 PM, “DeltaDave” email@hidden wrote:
This is a tough one. First of all, you have three layers of P tags
around your trigger for the re-play button. It looks like you used an
inline Markup Item to insert the link, and the link code I posted
already had a P tag around it. Still doesn’t account for the other
layer of P, maybe it was because there was an IMG tag, and Freeway
always wraps those with a P. Once I cleared that up, I found that
there was a syntax error, as you noted, unless I made the
fwPlaySeqTimer; into fwPlaySeqTimer=true; or fwPlaySeqTimer=false;
Neither one cleared up the original problem, where a click on the
button would stop the animation and none of the other buttons would
ever work again. I still haven’t cracked the code on this one.
What’s happening here is that if you keep clicking the Replay button,
you start “stacking” loops on top of one another. The issue here is
that you need to tear down the effect before you start over again.
Otherwise the first one keeps playing, and the second, third, whatever
also play, so the thing starts blurring through the changes. After a
while, all of the loops get to the end and the effect stops.
This Action is crying out to be re-written in a modern, unobtrusive
style. Then you could extend it with callback functions and everything
could be as fancy as you need it to be.