Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The tek-tips forum page loading behavior

Status
Not open for further replies.

tangyi

Programmer
Sep 7, 2001
16
US
hey guys,
reload this page, pay attentation to the loading process of this page: the banner is loaded and displayed first, then after the rest of content is fully loaded, it is displayed.
most big websites have their pages coded this way, so that the user will get to see the top part of the page while still waiting for the entire page to finish loading.
i want to do the same thing with my pages, i tried response.buffer = true and response.flush, however it didn't work. Does anyone have any ideas on how to do this?
 
I think that they use an image on the beginning of the page and when u refresh the page the image is loaded from your temporary dir... ________
George, M
 
actually i figured it out, it's because in their HTML codes,
the top part is a 1st level table by itself, so the browser can go ahead and display it. Just look at the source code of this page. If the entire page is one big table, then the browser won't display anything until the entire page is downloaded because it can't interpret the structure of the table without having the entire source codes describing the table downloaded. I know it's kinda confusing. Just look at the source code.:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top