Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #29789 > unrolled thread

Gmail questions

Started bybit-naughty@hotmail.com
First post2016-03-03 09:16 -0800
Last post2016-03-04 13:54 +0700
Articles 2 — 2 participants

Back to article view | Back to comp.lang.javascript


Contents

  Gmail questions bit-naughty@hotmail.com - 2016-03-03 09:16 -0800
    Re: Gmail questions JJ <jj4public@vfemail.net> - 2016-03-04 13:54 +0700

#29789 — Gmail questions

Frombit-naughty@hotmail.com
Date2016-03-03 09:16 -0800
SubjectGmail questions
Message-ID<3177757e-31a8-4410-9e4e-e5602d9d4f40@googlegroups.com>
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.

[toc] | [next] | [standalone]


#29792

FromJJ <jj4public@vfemail.net>
Date2016-03-04 13:54 +0700
Message-ID<12p0trhaaz95m.188wlj0z0w6me$.dlg@40tude.net>
In reply to#29789
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/wiki/AJAX>
<https://developer.mozilla.org/en-US/docs/AJAX>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web