HI, Albert,
Thank you
bin
--- Albert Pi <[EMAIL PROTECTED]> wrote:
> Bin:
>           Javascript may be can do that, it has
> "status" (statusbar). then you can pass "percent"
> into your javascript function.
>           The following sample code for "statusbar":
>  <SCRIPT LANGUAGE="JavaScript">
>    var msg = "Welcome to Cablevision's Optimum
> Voice!";
>
>    var timeID = 10;
>    var stcnt = 16;
>    var wmsg = new Array(38);
>     wmsg[0]=msg;
>     var blnk = "
>                           ";
>     for (i=1; i<37; i++)
>      {
>        b = blnk.substring(0,i);
>        wmsg[i]="";
>        for (j=0; j<msg.length; j++)
> wmsg[i]=wmsg[i]+msg.charAt(j)+b;
>      }
>
>    function show()
>    {
>            if (stcnt > -1) str = wmsg[stcnt]; else
> str = wmsg[0];
>            if (stcnt-- < -40) stcnt=36;
>            status = str;
>            clearTimeout(timeID);
>            timeID = setTimeout("show()",150);
>    }
>
> show()
> </script>
>
> Albert Pi
> Corp IS System Delivery
> 516-803-3762
>
>
> >>> [EMAIL PROTECTED] 06/17/02 01:31PM >>>
> hi,
> I am trying to write a servlet to fulfil such
> function.
> My system is about online exam. when student submit
> their exams to database, i wish the system give pop
> up
> a window show the status of transferring(a statusbar
> shows how much percent of data has been transfered).
> My program is using java servlet and mysql as
> backend.
> Thanks a lot in advance.
> bin
>
>
______________________________________________________________________
> Post your ad for free now! http://personals.yahoo.ca
>
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives:
>
http://archives.java.sun.com/archives/servlet-interest.html
>
> Resources:
>
http://java.sun.com/products/servlet/external-resources.html
>
> LISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives:
>
http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
>
http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
>


______________________________________________________________________
Post your ad for free now! http://personals.yahoo.ca

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to