Building a loading Screen
Posted: Thu Dec 11, 2003 5:38 am
Hello again peeps,
What I wanna do is display a gif whilst curl is working, then hide it (using display:none or a php equivalent if possible) but I am having problems getting the bugger to hide again.
What I have so far is as follows (pseusocode):
I can post the code if you think it would be easier to visualise what I am doing. Needless to say the image is showing after I click the submit button on my form, cURL is also sending the xml request, getting the XML response and then displaying it. Just cant work out how to hide the damned gif now 
Thanks for all yer help,
Me
What I wanna do is display a gif whilst curl is working, then hide it (using display:none or a php equivalent if possible) but I am having problems getting the bugger to hide again.
What I have so far is as follows (pseusocode):
Code: Select all
Show Header Images
If post > 0 (in other words there are post fields)
show picture;
End if
Main html with form code etc
If post > 0 (see above)
do curl statements;
hide picture; - This is the line I cant work out
display curl output;
end ifThanks for all yer help,
Me