[jQuery] Upload with progressbar
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=162004010-03072006><FONT face=Arial
color=#0000ff size=2>You can find something here: </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=162004010-03072006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=162004010-03072006><FONT face=Arial
color=#0000ff size=2>- </FONT></SPAN><SPAN class=162004010-03072006><FONT
face=Arial color=#0000ff size=2><A
href="http://obokaman.obolog.com/mensaje/1596">http://obokaman.obolog.com/mensaje/1596</A> </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=162004010-03072006></SPAN><SPAN
class=162004010-03072006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=162004010-03072006><FONT face=Arial
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=162004010-03072006><FONT face=Arial
size=2></FONT> </DIV>
<DIV dir=ltr align=left>
<DIV align=left><FONT face=Arial size=2>Albert Garcia</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>OboLog » Tus pensamientos en
red</FONT></DIV>
<DIV align=left><FONT face=Arial size=2><A
href="http://www.obolog.com/">www.obolog.com</A></FONT></DIV>
<DIV align=left><FONT face=Arial
size=2>______________________________________________</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Mi blog personal en <A
href="http://obokaman.obolog.com/">http://obokaman.obolog.com</A></FONT></DIV></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=es dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De:</B> discuss-bounces@jquery.com
[mailto:discuss-bounces@jquery.com] <B>En nombre de </B>Wang
Liang<BR><B>Enviado el:</B> lunes, 03 de julio de 2006 12:25<BR><B>Para:</B>
jQuery Discussion.<BR><B>Asunto:</B> Re: [jQuery] Upload with
progressbar<BR></FONT><BR></DIV>
<DIV></DIV>Create some server side script which can response the temp file
size infomation when uploading, then you can use ajax to load the temp file
size infomation responsed by the scripts.<BR><BR>
<DIV><SPAN class=gmail_quote>On 7/3/06, <B class=gmail_sendername>Ivan
Travkin</B> <<A
href="mailto:ivantravkin@hotmail.com">ivantravkin@hotmail.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2>Does XMLHTTPRequest have any
getBytesLoaded/getBytesTotal methods?</FONT></DIV>
<DIV><FONT face=Arial size=2>I haven't heard of any such, thus the best
thing I can is imagine to make progress bar according to Request states -
there are 5 of them, out of which you can't use 0, coz it's basically
meaning you arent doing anything with request object at the
moment.</FONT></DIV>
<DIV><FONT face=Arial size=2>However it has zero proportionality to how much
data out of maximum have actually been downloaded.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>You can use a simple gif instead, which shows
some 'please wait' or 'loading..' animation without a bar
symbolising progress.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px"></BLOCKQUOTE></DIV>
<DIV><SPAN class=e id=q_10c330d0600206dd_1>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial"><B>From:</B>
<A title=seventoes@gmail.com
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:seventoes@gmail.com" target=_blank>DragonMails</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B>
<A title=discuss@jquery.com
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:discuss@jquery.com" target=_blank>jQuery Discussion.</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Monday, July 03, 2006 7:09 AM </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B>
Re: [jQuery] Upload with progressbar</DIV>
<DIV><BR></DIV>I dont see any progress bars...?<BR><BR>
<DIV><SPAN class=gmail_quote>On 7/2/06, <B
class=gmail_sendername>Florian</B> <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:florian95@gmail.com" target=_blank>florian95@gmail.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>Hi all,<BR><BR>I create a single topic on this subject.
<BR><BR>Somebody succeed in developing a system of upload with
preogressbar and AJAX with jQuery ?<BR><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://15daysofjquery.com/+"
target=_blank>http://15daysofjquery.com/ </A>starts but the end is not
there
<BR><BR>Thank you,<BR></DIV>
<DIV><SPAN>Florian
<BR><BR></SPAN></DIV><BR>_______________________________________________<BR>jQuery
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:discuss@jquery.com"
target=_blank>discuss@jquery.com</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://jquery.com/discuss/"
target=_blank>http://jquery.com/discuss/</A><BR><BR><BR></BLOCKQUOTE></DIV><BR></SPAN></DIV>
<DIV>
<P></P>
<HR>
</DIV>
<DIV><SPAN class=q>
<P></P>_______________________________________________<BR>jQuery mailing
list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:discuss@jquery.com" target=_blank>discuss@jquery.com</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://jquery.com/discuss/"
target=_blank>http://jquery.com/discuss/</A><BR></SPAN></DIV>
<DIV>
<P></P></DIV></DIV><BR>_______________________________________________<BR>jQuery
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:discuss@jquery.com">discuss@jquery.com</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://jquery.com/discuss/"
target=_blank>http://jquery.com/discuss/</A><BR><BR><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Wang Liang </BLOCKQUOTE></BODY></HTML>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/