how does gmail make different views load instantly?

oog

Golden Member
Feb 14, 2002
1,721
0
0
i have not looked at how gmail does it, but it's certainly possible to load things into hidden html elements and then show them when necessary. or it's possible that they just move things around on the client side without going back to the web server.
 

screw3d

Diamond Member
Nov 6, 2001
6,906
1
76
It seems that they use Javascript for that.. lots of Javascript but I don't know how exactly :p
 

KLin

Lifer
Feb 29, 2000
30,496
783
126
Outlook 2003 does the same thing. You can create custom search folders for your email. when you bring up the search folder, it's instant. Kinda cool
 

dpopiz

Diamond Member
Jan 28, 2001
4,454
0
0
Originally posted by: KLin
Outlook 2003 does the same thing. You can create custom search folders for your email. when you bring up the search folder, it's instant. Kinda cool

except it's not browser-based
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
I'd guess mostly javascript... You can use css positioning to put a bunch of elements right on top of eachother. Then set the style display property to none for all but one. Then, with javascript, you can change the display property to make another one visible and another not. It's more or less the same thing as when you see pop up hierarchical menus.