-Jerod
On 1/13/06, Kenneth Lee <[EMAIL PROTECTED]> wrote:
I like it. I'd also like to see (optional) before and after callbacks
on the AJAX request to grab the next content.
Actually, some thought needs to be given on how it's going to
construct the AJAX request for more content.
If we rely on a session, we could just use the same defined URL for
each call. It'd be much more flexible if we could (re)define the URL
between invocations.
So first call could be /my/photo?id=1
next is /my/photo?id=2 and so forth
and at /my/photo?id=10 we tell the slide show to stop.
But what if we can't rely on consecutive integers, or if the ids
aren't even numeric?
Any thoughts on how we can best control the sequence?
On 1/13/06, Gregory Hill <[EMAIL PROTECTED]> wrote:
[snip]
>
> The functions will need to accept an element argument, like this:
> {
> showeffect: function(element) { Effect.Appear(element)
> },
> hideeffect: function(element) { Effect.Fade(element) }
> }
>
> I'd also like to make it so you can pass in effect options when using a
> pre-defined pairing. So, maybe have this also:
>
> {
> showoptions: { duration: 0.2 },
> hideoptions: { duration: 0.4 }
> }
>
> What do y'all think?
>
> Greg
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs