[Rails] Loading pictures up front, key press response, timed display

Anne G anne at wjh.harvard.edu
Thu Feb 2 16:51:58 GMT 2006


HI

Rails normally has an rhtml file on the server which is
interpreted. If the rhtml has a load image command,
it loads the image and presents it to the user.

Is there a way to have Rails load all the images that are
going to be used ahead of time? How would the code look
different?

--------------------------------------------
usually the user clicks on submit, which is really a link
which is interpreted as a request by the controller.

Is there a way to have Rails respond to a key press
by storing the content of the key press and moving on to
load the next image

--------------------------------------------
As I understand it, the timing is mostly controlled by the
user clicking on a link. Until then the server just sits
there waiting for someone to request a link

How can I use Ajax to control the timing of the presentation
independently of a link request?

thanks for your help

anne





More information about the Rails mailing list