And I just added a second example below the first. This uses the onCreate -> update trick to replace the contents of the second yellow box with a spinner image, which is then replaced by the content from the Ajax Update.

Walter

On Nov 4, 2010, at 12:02 PM, Walter Lee Davis wrote:

Absolutely. Here:

http://scripty.walterdavisstudio.com/ajaxwait.html

Clicking the yellow box requests a PHP script that begins with sleep(2), just so there's enough time for you to see the spinner. I did it without that, and it was such a brief flash that you couldn't tell that the image was being shown. All the script is inline.

Walter

--
You received this message because you are subscribed to the Google Groups "Prototype 
& script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to