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@googlegroups.com.
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.

Search Discussions

  • Alexpls at Feb 24, 2012 at 8:54 am
    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 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@googlegroups.com.
    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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedFeb 22, '12 at 9:39p
activeFeb 24, '12 at 8:54a
posts2
users2
websiterubyonrails.org
irc#RubyOnRails

2 users in discussion

Aaron Schmitz: 1 post Alexpls: 1 post

People

Translate

site design / logo © 2022 Grokbase