From: Milo Thurston Date: 2004-06-03T19:10:07+09:00 Subject: CGI "please wait" message. Apologies for the many CGI posts. Anyway, I am attempting to set up a script that runs blast jobs, these take some time, so a "pease wait" message whilst they are running followed displaying the results would be good. There are suggestiong here: http://www.daimi.au.dk/~mailund/css/cgi-ui-ex.html http://tech.irt.org/articles/js172/#io_buffering ....but these are for Perl. At present, I have something like: def results(genome) if genome.empty? # display the "please select a genome to search" message else # show a please wait message results = run_job(genome) if results.empty? # print "nothing found" message else # print results end end end cgi.out do cgi.html do cgi.body { header + submit_buttons + results(genome) + footer } end end This runs but does not (of course) display the "please wait" part. Are there any sites similar to the above giving Ruby examples? Thanks. -- www.sirwilliamhope.org