[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.javascript

Gmail questions

bit-naughty

3/3/2016 5:16:00 PM

Hi,
In Gmail, after I log in and the progress bar goes to the end, the mail screen "appears" - how is this "appearing" done? Surely the whole thing is not a <canvas> .....? (I don't think the URL changes either, though I'm not sure....)

Also, clicking on the subject of a mail brings up that mail - is this an "addEventListener"? Does this mean that addEventListener can be used to do stuff (that is, run some Javascript) WITHOUT THE SCREEN GOING BLANK AND LOADING THE NEXT PAGE?

Also, when I click a particular mail, it *loads* it, ie. it says "loading" and, presumably, gets it from the server - then what is it doing in the beginning when the progress bar is going by?


Thanks.
2 Answers

Axis of Evil

4/6/2012 3:40:00 AM

0

BYS <bys@bys.com> wrote:
>
>
>Axis of Evil wrote:
>
>> BYS <bys@bys.com> wrote:
>> >2007?~?b?????????????j???O???j???????H?O???????????????C
>> >
>> >http://zh.wikipedia.org/wiki/%E8%B5%B5%E6%89%B...
>> >
>> >?????b?[?{???J?????????H???????R?J?????????j???S?o?????H
>> >?O?????L?????????C
>> >
>>
>> >>http://www.mercurynews.com/breaking-news/ci_20322337/ca-attack-suspect-upset-about-expulsi...
>> >
>> >http://en.wikipedia.org/wiki/Oikos_...
>> >
>> >?????????O?_?b???????????O?S?O?j?O?H
>> >
>> >?????H?[?P?G
>> >
>> >?????H???j?k?H?D?q???B???n?j???????O?@???~?N???C?o???N??
>> >???????H???j?C?????H?????w???????q?B?C???L?????H?b????
>> >?X???????G?N?q?`?u???^?y?A???????y?C?o?????H???G?N???|??
>> >?M?F?????y?????p???@???C
>> >
>> >???????????????|?????????H???C
>> >
>> >?????H???????H?C???????{?????????H???????C
>> >
>> >?????H???q?????H?????S???D?C???S???`???C?o???V?n?H???P?C
>> >?????H?q?B?]?????????C?????k?H???????H?????????f?????H??
>> >?h?C
>> >
>>
>> ?G?M???\?M?~??????,?@?D?????l?O,
>> ?@???H?????s?D, ???@???????O "?????S?o???}?j???H",
>> ?@?y???[?j???????? "?????H?S?b???????H",
>> ?N?N?????????D?????????H???D.
>
>?p?G?????[?j?????N?@?w?????A???@???C
>
>?A??????CCTV?????????d???????d?_???????k???????A?????????N
>?L???j???????F???A?????O?????M?n???????t?d???D?A???O?_???F?v?A
>?]???O?_?????????}?I???????G
>
>http://phtv.ifeng.com/program/ybttd/detail_2012_03/10/131030...
>
>?????????????n?I?S???????F???n???`?????F???A?n?????h?????a
>?a???i?????E?A?????h?a???A?W???H?????????h?w?~?A?o????????
>???L?W?@?????n?a?????C?t?~?b?????n?????????O?????????p?X?x
>???t???A?o???????N???????j?????????????U???A?W?????H?A????
>?L?????????C?P???I?S?????}???T?K?u???????A?????h?a???A?H??
>???i?J?????????L?n???????C
>
>?I?S?????????????x???t???A???j?q???????_???R?????????U???A
>?H???C
>
>???H???????F?????A?H???n?B?A???????????????h?a???????A?????A
>?????????????????????h?I?????A???j?q???????_???U???A?H?A??
>???O?????_?x???Z???A?????O?x???t???C
>
>
>

?E???f?K OFFTOPIC

JJ

3/4/2016 6:54:00 AM

0

On Thu, 3 Mar 2016 09:16:03 -0800 (PST), bit-naughty@hotmail.com wrote:
> Hi,
> In Gmail, after I log in and the progress bar goes to the end, the mail screen "appears" - how is this "appearing" done? Surely the whole thing is not a <canvas> .....? (I don't think the URL changes either, though I'm not sure....)
>
> Also, clicking on the subject of a mail brings up that mail - is this an "addEventListener"? Does this mean that addEventListener can be used to do stuff (that is, run some Javascript) WITHOUT THE SCREEN GOING BLANK AND LOADING THE NEXT PAGE?
>
> Also, when I click a particular mail, it *loads* it, ie. it says "loading" and, presumably, gets it from the server - then what is it doing in the beginning when the progress bar is going by?
>
> Thanks.

It's AJAX. i.e. XMLHttpRequest

<http://en.wikipedia.org/wik...
<https://developer.mozilla.org/en-US/doc...