[jQuery] indicator?
[jQuery] indicator?
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(238, 238, 238); "><SPAN class="Apple-style-span" style="line-height: 18px;"><FONT class="Apple-style-span" color="#0085E4" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">Ajax</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">.</SPAN></FONT><FONT class="Apple-style-span" color="#0085E4" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">Responders</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">.</SPAN></FONT><FONT class="Apple-style-span" color="#0085E4" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">register</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">({</SPAN></FONT></SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 18px; background-color: rgb(238, 238, 238); "><SPAN class="Apple-style-span" style="line-height: 18px;"><FONT class="Apple-style-span" color="#0085E4" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">onCreate</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">: </SPAN></FONT><FONT class="Apple-style-span" color="#FB1A63" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">function</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">() {</SPAN></FONT></SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 18px; background-color: rgb(238, 238, 238); "><SPAN class="Apple-style-span" style="line-height: 18px;"><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;"> </SPAN></FONT><FONT class="Apple-style-span" color="#FB1A63" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">if</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">($(</SPAN></FONT><FONT class="Apple-style-span" color="#1B7D0E" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">'busy'</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">) && </SPAN></FONT><FONT class="Apple-style-span" color="#0085E4" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">Ajax</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">.</SPAN></FONT><FONT class="Apple-style-span" color="#0085E4" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">activeRequestCount</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">></SPAN></FONT><FONT class="Apple-style-span" color="#FFA100" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">0</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">)</SPAN></FONT></SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 18px; background-color: rgb(238, 238, 238); "><SPAN class="Apple-style-span" style="line-height: 18px;"><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;"> </SPAN></FONT><FONT class="Apple-style-span" color="#0085E4" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">Effect</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">.</SPAN></FONT><FONT class="Apple-style-span" color="#0085E4" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">Appear</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">(</SPAN></FONT><FONT class="Apple-style-span" color="#1B7D0E" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">'busy'</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">,{</SPAN></FONT><FONT class="Apple-style-span" color="#0085E4" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">duration</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">:</SPAN></FONT><FONT class="Apple-style-span" color="#FFA100" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">0.5</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">,</SPAN></FONT><FONT class="Apple-style-span" color="#0085E4" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">queue</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">:</SPAN></FONT><FONT class="Apple-style-span" color="#1B7D0E" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">'end'</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">});</SPAN></FONT></SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 18px; background-color: rgb(238, 238, 238); "><FONT class="Apple-style-span" color="#555555" face="Monaco">},</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 18px; font: normal normal normal 12px/normal Monaco; color: rgb(85, 85, 85); background-color: rgb(238, 238, 238); min-height: 16px; "><FONT class="Apple-style-span" color="#555555"><SPAN class="Apple-style-span" style="line-height: 18px;"><BR></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 18px; background-color: rgb(238, 238, 238); "><SPAN class="Apple-style-span" style="line-height: 18px;"><FONT class="Apple-style-span" color="#0085E4" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">onComplete</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">: </SPAN></FONT><FONT class="Apple-style-span" color="#FB1A63" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">function</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">() {</SPAN></FONT></SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 18px; background-color: rgb(238, 238, 238); "><SPAN class="Apple-style-span" style="line-height: 18px;"><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;"> </SPAN></FONT><FONT class="Apple-style-span" color="#FB1A63" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">if</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">($(</SPAN></FONT><FONT class="Apple-style-span" color="#1B7D0E" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">'busy'</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">) && </SPAN></FONT><FONT class="Apple-style-span" color="#0085E4" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">Ajax</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">.</SPAN></FONT><FONT class="Apple-style-span" color="#0085E4" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">activeRequestCount</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">==</SPAN></FONT><FONT class="Apple-style-span" color="#FFA100" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">0</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">)</SPAN></FONT></SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 18px; background-color: rgb(238, 238, 238); "><SPAN class="Apple-style-span" style="line-height: 18px;"><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;"> </SPAN></FONT><FONT class="Apple-style-span" color="#0085E4" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">Effect</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">.</SPAN></FONT><FONT class="Apple-style-span" color="#0085E4" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">Fade</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">(</SPAN></FONT><FONT class="Apple-style-span" color="#1B7D0E" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">'busy'</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">,{</SPAN></FONT><FONT class="Apple-style-span" color="#0085E4" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">duration</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">:</SPAN></FONT><FONT class="Apple-style-span" color="#FFA100" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">0.5</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">,</SPAN></FONT><FONT class="Apple-style-span" color="#0085E4" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">queue</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">:</SPAN></FONT><FONT class="Apple-style-span" color="#1B7D0E" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">'end'</SPAN></FONT><FONT class="Apple-style-span" color="#555555" face="Monaco"><SPAN class="Apple-style-span" style="line-height: normal;">});</SPAN></FONT></SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 18px; background-color: rgb(238, 238, 238); "><FONT class="Apple-style-span" color="#555555" face="Monaco">}</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 18px; background-color: rgb(238, 238, 238); "><FONT class="Apple-style-span" color="#555555" face="Monaco">});</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 18px; background-color: rgb(238, 238, 238); "><FONT class="Apple-style-span" color="#555555" face="Monaco"><BR class="khtml-block-placeholder"></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 18px; background-color: rgb(238, 238, 238); "><FONT class="Apple-style-span" color="#555555" face="Monaco">there is some code for a loading indicator, is there a way i can this same thing in jquery?</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 18px; background-color: rgb(238, 238, 238); "><FONT class="Apple-style-span" color="#555555" face="Monaco"><BR class="khtml-block-placeholder"></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 18px; background-color: rgb(238, 238, 238); "><FONT class="Apple-style-span" color="#555555" face="Monaco">adam</FONT></DIV></BODY></HTML>_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/