How to make a progress bar or a waitting page?

page1.cfm
<form action="InputDB.cfm" method="post">
<input id="inputdb" type="submit" value="InputNow">
</form>
InputDB.cfm
<cfloop from="1" to "9000000" index="x">
if it inputs the 9000000 records into the database,
it will spend a lot of time,how to do make a progress bar
or a waitting page when Users wait for the time?
</cfloop>
Thanks a lot.

Waiting pages are easy.
Step 1, convert form variables to session variable.
Step 2, display something.
Step 3, use js window.location to call the action page. Don't
use cflocation. Even though it works, you lose your display.

Similar Messages

  • How to make growing progress bars in video?

    I am as green as you can get, in fact I do not yet have my editing software, though my first choice is Adobe premiere pro. For future reference could someone please explain to me how I could animate one or multiple progress bars to fill up over the course of a series of videos? I know this can be done as I've seen it before, please help.

    Make 2 bars in Photoshop one 0% and one 100%, place the second one above the first in the timeline and animate it with a linear wipe.

  • Is their any tutorials on how to make a navigation bar with drop downs in Dreamweaver CC now ?

    Is their any tutorials on how to make a navigation bar with drop downs in Dreamweaver CC now that they do not have the spry option?

    bbull2005 wrote:
    Preran, why wouldn't Dreamweaver include it's own menu/navigation bar widget?
    I can't answer on Preran's or Adobe's behalf, but I think you'll find at least part of the answer here: http://wiki.jqueryui.com/w/page/38666403/Menubar
    Adobe decided to discontinue development of Spry in August last year, and Dreamweaver CC made the switch to using jQuery UI widgets and effects. One reason for dropping Spry was that it failed to work correctly in some browsers. Judging from the fact that the jQuery UI menubar is now "on ice", creating a flyout menu that works reliably across all devices is proving more difficult than originally envisaged.
    Because all other widgets in Dreamweaver CC use jQuery UI, it's a reasonable assumption that Adobe hoped the jQuery UI menubar would be ready in time, but it wasn't.

  • How to use a progress bar with java mail?

    Hi, i'm new here.
    I want if someone can recommend me how to show a progress bar with java mail.
    Because, i send a message but the screen freeze, and the progress bar never appear, after the send progress finish.
    Thanks

    So why would the code we post be any different than the code in the tutorial? Why do you think our code would be easier to understand? The tutorial contains explanations about the code.
    Did you download the code and execute it? Did it work? Then customize the code to suit your situation. We can't give you the code because we don't know exactly what you are attempting to do. We don't know how you have changed to demo code so that it no longer works. Its up to you to compare your code with the demo code to see what the difference is.

  • How can i use Progress bar in IR Report

    Hi ,
    I have created IR Report based on the View so, it's been taking 10-15 mins of time to execute the IR Report. Here user want to see the Progress bar while executing the IR Report. How can i use Progress bar in IR Report.
    Anybody have idea on Progress bar please help me.
    Regards
    Narender B

    Hi ,
    Thanks for your information.
    I am new to the APEX.*i need to show Progress bar while opening the each page* then user can know some process is happening from the backside and i don't know where i need to add and call the below function.could you please provide the steps for the progress bar.
    In my application there are almost 100 pages are there so, i need to show progress bar on each page while opening .could you please provide Global function to call on each page.
    function html_url_Progress(pThis){ 
    $x_Show('AjaxLoading');
    window.setTimeout('$s("AjaxLoading",$x("AjaxLoading").innerHTML)', 100);
    //doSubmit('APPLY_CHANGES');
    redirect(pUrl);
    Regards
    Narender B

  • How to make a scroll bar!!!

    i need to know how to make a scroll bar in flash cs3! can
    anyone help me with this??

    http://learnola.com/2008/10/27/flash-tutorial-create-a-custom-scrollbar-with-actionscript/

  • How to make a slide bar that controls opacity

    I'm trying to figure out how to make a slide bar that would control opacity. If I were to take to pictures on top of each other, the slide bar would control the opasity of the top image. Thanks

    can you make a slider that controls anything?  if so, what's the range you can control?
    ie, when the slider is at one extreme it causes some object to have value1 and when it's at the other extreme the object has value2.  what value1, value2 can you handle?

  • I don't know how to word this - "Progress bar" maybe???

    Hi Everyone!
    I've been a lurker here on occasion, but never posted. I'm sure this has been covered somewhere, but what I'm trying to do is place a "loading" page or progress bar that loads my pages before they're shown to the visitor...maybe an hourglass or a bar of some sort, y'know? I think it looks unprofessional to visit a site and watch each item as it loads. Know what I'm sayin'????

    Hi -- Welcome to the discussions. They're called animated Flash "preloaders" which show a progress bar, e.g.
    http://www.verticalmoon.com/products/swflockload/swflockload.htm
    ...but I'm not sure how practical it would be to use them for general web-page loading; perhaps another forum reader could chip in here.
    If you decide to experiment, you could try integrating preloaders into your site via either of the following:
    http://web.mac.com/cbrantly/iWeb/Software/iWeb%20Enhancer.html
    or...
    http://iweb.varkgirl.com
    (Click on the first "tip" link in the list)

  • Progress bar onLoad of jsp page.

    Hello all,
    I was wondering how to put a progress bar on load of jsp page.
    Also I have html page that calls a servlet. It takes some time to run it.
    So, is there a way to put a progress indicator while serlvet is doing work?
    thanks

    You can fix that in your page template by putting something like this just before the BODY tag in the Header region:
    <div id="loading"
      style="display: block;
             position: fixed;
             top: 0px;
             left: 0;
             z-index: 1999;
             width: 100%;
             height: 100%;
             background-color: #fff;
             text-align: center;">
    <div style="position: relative;
                top: 130px;">
    Wait..loading..
    </div>
    <img src="#IMAGE_PREFIX#themes/theme_200/images/loading.gif" height="32" width="32"
       style="position: relative;
              top: 150px;"/>
    </div>and putting something like this just after the closing BODY tag in the Footer region:
    <script>
    $(document).ready(function(){
      $('#loading').hide();
    </script>

  • How to have the format bar on top in pages

    how to have the format bar on top in pages?

    Do you mean Pages, the Word like application in iWork?  If you do, I can ask the moderator move your thread to the Pages forum.

  • How to make report high 3.33 inch per page(11g report)

    Dear all,
    How to make report high 3.33 inch per page
    so if there are more than one page in the report it will start printing in the correct position on the next page,
    i make generate to PDF then print
    Thanks,
    Sakr

    Hello Sakr,
    This is a good question:
    You can visualize:
    http://1.bp.blogspot.com/_KYY-OV98iIo/S4-7ISbC5NI/AAAAAAAAAGw/bmelGzNg6UI/s1600-h/MainSection.bmp
    You can change Height that shows 11 in the visual aid.
    Mark Correct or Helpful !
    Edited by: New Yorker on Aug 26, 2011 11:40 AM

  • How to make session invalid when user refresh the page?

    How to make session invalid when user refresh the page?

    I have a <form> in a JSP file that has another JSP file as an action.
    I have main.jsp that has <form> with action.jsp file as an action.
    Now when I submit the <form>, request forwarded to action.jsp and it will take the action. But this file is taking so long, hence user refresh the page again and again, hence duplicate request processing is occuring.
    I want to prevent this.

  • Show Progress Bar while only on Page Load.

    Hi Experts,
    I want to show progress bar every time when page loads.
    Progress bar is coming on the page. but it is not going off after page is loaded.
    Below is the code which i added for the Progress bar.
    //written on Header Text of Page
    <script type="text/javascript">
    <!--
    function html_Submit_Progress(pThis){
    $x_Show('AjaxLoading');
    window.setTimeout('$s("AjaxLoading",$x("AjaxLoading").innerHTML)', 100);
    //-->
    </script>
    //written on footer text of Page
    <style> #AjaxLoading{padding:5px;font-size:18px;width:200px;text-align:center;left:20%;top:20%;position:absolute;border:0px solid #666;}
    </style>
    <div id="AjaxLoading" style="display:none;"><br /><img src="#APP_IMAGES#progress_bar.gif" id="wait" /></div>
    //called the function Execute on Page Loads 
    html_Submit_Progress(this);Progress bar is continuously showing on the page after page is loaded.
    I want only to show only page loads.
    Please help me .
    Apex Version : Apex 4.1
    DB Version : 10g
    Regards,
    Jitendra

    Hide the loader element when the page has loaded. Put this in the javascript section
    $(document).ready(function(){ $x_Hide('AjaxLoading'); });Or put it in the page load section
    $x_Hide('AjaxLoading');Or create a dynamic action which fires on page load, select a hide action, and use a jQuery selector to target '#AjaxLoading' as an affected element.

  • How to create/set progress bar for loading flash intro

    Hi,
    I am having a falsh intro for my website.
    But its taking time to download and play the intro when we try to access it.
    I have seen many sites with progress bar indicating the status on the downloading of flash items.
    Can anybody please tell me how should I go about this?

    You can make a simple loader, it's a visual cue so your users wait for a moment.
    Try this, get a GIF from one of these site: http://www.google.com/search?hl=en&client=safari&rls=en-us&q=loading+gif&btnG=Se arch
    download it and name it as loader.gif
    add it to you page, and add the following to the page using HTML Snippet:
    <script type='text/javascript'>
    var timerCount = 0;
    var delayTimer = 5; // change this for the duration to show the loader.gif
    var loaderName = 'loader.gif';
    function stopLoader() {
    _imgs = parent.document.getElementsByTagName('img');
    for (ji = 0; ji< _imgs.length; ji++) {
    if (_imgs[ji].src.indexOf(loaderName) != -1) {
    loaderElement = _imgs[ji];
    break;
    if (timerCount == delayTimer) {
    loaderElement.style.visibility = 'hidden';
    clearInterval(_stopLoader);
    timerCount++;
    parent.iWLog(timerCount);
    _stopLoader = setInterval('stopLoader()', 1000);
    </script>
    BTW, here is an example: http://hdl.50webs.com/Sample/Blank.html

  • How can add a progress bar into script?

    Hi,
    I got a script for gen pdf
    I want put a progress bar, and make it working
    but I don't know where I can put the progress bar
    and how
    //=====================================================================
    var doc = app.documents; 
    app.findTextPreferences = null; 
    app.findTextPreferences.underline = true; 
    for(var i=0;i<doc.length;i++) 
            var found = doc[i].findText(); 
            var _pages = []; 
            for(var j=0;j<found.length;j++) 
                    var txfms = found[j].texts[0].parentTextFrames; 
                    for(var k=0;k<txfms.length;k++) 
                            _pages.push(txfms[k].parentPage.name); 
            for(var j=0;j<_pages.length;j++) 
                    if(_pages[j] === _pages[j-1]) 
                            _pages.splice(j,1); 
            if(_pages.length != 0) 
                    app.pdfExportPreferences.pageRange = _pages.toString(); 
                    doc[i].exportFile(ExportFormat.PDF_TYPE, new File(doc[i].fullName.toString().replace(/\.indd$/i,".pdf")), false); 
            _pages = []; 
    //=================================================================== Can I put progress bar in here?
               var counter = new Window("palette");
               counter.prompt = counter.add("statictext",[0,0,80,20]);
               counter.show();
               var cells = app.activeDocument.allCellStyles;
               for(var i = cells.length-1; i > 0; i--){
               counter.prompt.text = String(i);
               cells[i].verticalJustification = VerticalJustification.bottomAlign;
               counter.close();
    //===================================================================
    app.findTextPreferences = null;
    alert("Done.");
    thanks
    Harvey

    Hi Harvey,
    Try this,
    var doc = app.documents;
    app.findTextPreferences = null;
    app.findTextPreferences.underline = true;
    for(var i=0;i<doc.length;i++)
            var found = doc[i].findText();
            var _pages = [];
            for(var j=0;j<found.length;j++)
                    var txfms = found[j].texts[0].parentTextFrames;
                    for(var k=0;k<txfms.length;k++)
                            _pages.push(txfms[k].parentPage.name);
            for(var j=0;j<_pages.length;j++)
                    if(_pages[j] === _pages[j-1])
                            _pages.splice(j,1);
            if(_pages.length != 0)
                    app.pdfExportPreferences.pageRange = _pages.toString();
                    doc[i].exportFile(ExportFormat.PDF_TYPE, new File(doc[i].fullName.toString().replace(/\.indd$/i,".pdf")), false);
            _pages = [];
        var counter = new Window("palette");
        counter.prompt = counter.add("statictext",[0,0,80,20]);
        counter.show();
        var cells = app.activeDocument.allCellStyles;
        var w = new Window('palette');
        w.pbar = w.add('progressbar', undefined, 0, cells.length);
        w.pbar.preferredSize.width = 300;
        w.show();
        w.pbar.value = 0;
        for(var i = cells.length-1; i > 0; i--)
            w.pbar.value += 1;
            counter.prompt.text = String(i);
            cells[i].verticalJustification = VerticalJustification.bottomAlign;
        counter.close();
    app.findTextPreferences = null;
    alert("Done.");
    Regards,
    Chinna

Maybe you are looking for

  • OID connection error for partner application

    Hello All I have registered a partner application which run from Oracle application server OC4J and when i login via URL, I get following error below, any suggestions?. All parameters are correctly specified. AJPRequestHandler-ApplicationServerThread

  • Retrieve element from an XML variable

    I have a BPEL process that takes in a XML message and from that message I want to parse out one element. Using BPEL v10.1.3.3.0 Here is the xsd's, (use a wrapper for adding the name space) <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://

  • Macbook can no longer detect HP 2540

    The same computer and printer were working fine (routing through an Apple Airport Extreme). I recently reset my password on the airport, and the printer couldn't reconnect. I reset the printer (pushing two buttons simultaneously) and now I get nothin

  • Send An Internal Table Via Excel File As An Attachment of E-mail

    Hi, I've sent my internal table via Excel file as an attachment of email but all records of internal table are in a row of sended excel file. How can i send an internal table via excel file , records of internal table for each rows of excel file,as a

  • Setting my picture for other's caller id

    I used to know how to set my facebook profile picture as my caller id for when I call other people. I cant remember how to do it because when i call anyone with an iphone my same old facebook profile picture comes up on thier screen automatically, ho