This tutorial seems to answer your question:
http://patshaughnessy.net/2010/4/28/how-to-create-a-slideshow-using-jquery-and-rails-in-10-minutes-or-less
On Feb 23, 1:27 am, Aaron Schmitz
<a.schmitz...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
wrote:> Hi,
>
> i want to build an image viewer. ive loaded all files from a directory
> via db. what i want now is a canvas and when i klick "left" the
next
> image of the array should be drawn in the canvas and when i click
> "right"
> the previous image should be drawn. i want to do this with ajax. so i
> have got two controller actions "left" and "right" and
a maximum value
> for the files in the array in the
> "get_current_files_in_current_folder" action. how do i go on?
please
> please help me
>
> regards
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.