Hi Guys,
I'm building some forms, and when they are submitted, I'd like to integrate a method that will fade out the screen a bit, and show an animated "processing" .gif.
Basically when the "submit" button is pressed, the form is being submitted to it's destination. The page will hang on the form until the next page is ready to load. While it's hanging there after submitting, I'd like the screen to fade out, and display an image in the center of the screen.
I'm hoping this can be achieved with CSS, as I try to use as little Javascript as possible.
What's the best way to achieve this? I figure if anything a javascript "onsubmit" function will be a good start.
I'm building some forms, and when they are submitted, I'd like to integrate a method that will fade out the screen a bit, and show an animated "processing" .gif.
Basically when the "submit" button is pressed, the form is being submitted to it's destination. The page will hang on the form until the next page is ready to load. While it's hanging there after submitting, I'd like the screen to fade out, and display an image in the center of the screen.
I'm hoping this can be achieved with CSS, as I try to use as little Javascript as possible.
What's the best way to achieve this? I figure if anything a javascript "onsubmit" function will be a good start.