elimorris
07-13-2006, 03:41 AM
Dear All,
I have a page where I need to generate a png graphic on the fly before the page is complete. Currently I use the qx command to call a java program at the top of the perl script. qx returns after the png is rendered and the page can finish being created for the user.
To make this clearer, here is the web page:
http://hanalei.ucsc.edu/cgi-bin/hour_plot11.pl
The problem with this is that the png graphic needs about 10 seconds to render and during that time nothing is happening. I would like it if there was some sort of "Please wait while the plot is being drawn" kind of message while the plot is being rendered. I can't figure out how in the world to do such a thing. Can anyone think of anything?
thanks much,
eli
I have a page where I need to generate a png graphic on the fly before the page is complete. Currently I use the qx command to call a java program at the top of the perl script. qx returns after the png is rendered and the page can finish being created for the user.
To make this clearer, here is the web page:
http://hanalei.ucsc.edu/cgi-bin/hour_plot11.pl
The problem with this is that the png graphic needs about 10 seconds to render and during that time nothing is happening. I would like it if there was some sort of "Please wait while the plot is being drawn" kind of message while the plot is being rendered. I can't figure out how in the world to do such a thing. Can anyone think of anything?
thanks much,
eli