leequalls Posted March 22, 2011 Share Posted March 22, 2011 Im looking to have a loading image display after some one clicks submit on a upload form. Any help on this would be great. Quote Link to comment https://forums.phpfreaks.com/topic/231444-loading-bar-on-upload/ Share on other sites More sharing options...
monkeytooth Posted March 26, 2011 Share Posted March 26, 2011 Well depends on what you mean by progress bar.. Theres the one everyone would truely like but is generally a pain in the a** to make, which goes on a byte to byte percentage. Then there are the timer based ones that look like like they are like the byte to byte progress bar.. then there is the super simplistic version which a lot of sites generally follow is the loader image. Just an ainimated gif you put there to show theres something going on. So the user doesnt sit there and wonder wtf.. This is usually the ladder option as its easier to maintain, and makes for a lot less noise in the background for things running in the background. With that go to http://ajaxload.info/ get your self one of the animated gifs, load it on your page like you would anything else via html, and with CSS inline or otherwise "display:none" on that image or element its in, then upon clicking your submit button change the css on it to display:block through the javascript. Visual impression of a loader now effective. Quote Link to comment https://forums.phpfreaks.com/topic/231444-loading-bar-on-upload/#findComment-1192679 Share on other sites More sharing options...
leequalls Posted March 27, 2011 Author Share Posted March 27, 2011 ok I have the load bar image could you help me with the code to make it display? Quote Link to comment https://forums.phpfreaks.com/topic/231444-loading-bar-on-upload/#findComment-1192730 Share on other sites More sharing options...
monkeytooth Posted March 27, 2011 Share Posted March 27, 2011 i could give it a shot, are you using any particular library such as jquery, prototype, dojo, or something else? Quote Link to comment https://forums.phpfreaks.com/topic/231444-loading-bar-on-upload/#findComment-1192773 Share on other sites More sharing options...
leequalls Posted March 27, 2011 Author Share Posted March 27, 2011 jquery Quote Link to comment https://forums.phpfreaks.com/topic/231444-loading-bar-on-upload/#findComment-1192775 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.