mikenye Posted November 26, 2008 Share Posted November 26, 2008 Hi all, Ive posted about a status bar before but have completely lost myself so im starting again I have a website that builds a pdf (using FPDF) form a pdf library. Basically it collates pdf's and makes them into 1. When a user collates quite a few the user is faced with a blank screen for a given time...somtimes up to 5-10 mins. What I would like to do is give them either a progress bar to let them know its still working or give them a message that pops up at the start of the process then closes when its finished? Anyone done anything like this before? I havent a clue where to start wil it? maybe around the Obj? Any help or advice greatly accepted as im still in the learning phase of php. Thanks Mike Quote Link to comment https://forums.phpfreaks.com/topic/134375-statusprogress-bar-vs-pop-up/ Share on other sites More sharing options...
trq Posted November 26, 2008 Share Posted November 26, 2008 PHP isn't going to be able to do this allone. I would suggest looking into an Ajax solution. Quote Link to comment https://forums.phpfreaks.com/topic/134375-statusprogress-bar-vs-pop-up/#findComment-699568 Share on other sites More sharing options...
mikenye Posted November 26, 2008 Author Share Posted November 26, 2008 mmm I dont know any Ajax, havent really looked at it......yet Ive had a re think that maybe there might be extra processing time involved...which I dont want. Im thinking that maybe a window opening with at message an animated gif at the start of the process and then closing it when it ends... I know how to start it from the build pdf button in Javascript but closing it again is a mystery! thanks for the help! any other ideas welcome! thanks mike Quote Link to comment https://forums.phpfreaks.com/topic/134375-statusprogress-bar-vs-pop-up/#findComment-699750 Share on other sites More sharing options...
Mchl Posted November 26, 2008 Share Posted November 26, 2008 Try ExtJS Has progress bar widget ready for you to use http://extjs.com/deploy/dev/examples/simple-widgets/progress-bar.html Quote Link to comment https://forums.phpfreaks.com/topic/134375-statusprogress-bar-vs-pop-up/#findComment-699765 Share on other sites More sharing options...
Maq Posted November 26, 2008 Share Posted November 26, 2008 Yes JS is your best choice. I'd go with the basic progress bar. Quote Link to comment https://forums.phpfreaks.com/topic/134375-statusprogress-bar-vs-pop-up/#findComment-699802 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.