|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (8 bit)
Join Date: Nov 2001
Location: Perth Western Australia
Posts: 244
|
Web Page Loading and Rendering
Hello
I was just wondering why with Internet Explorer and maybe other browsers that some web pages seem to be rendered in a different order on subsequent loads. i.e. with yahoo mail which may be using a simple 2 frame structure, you have the vertical menu of functions on the left and the main area on the right. On subsequent loads of my yahoo mail (initial page) either the left area of the page renders first or the right area. Does this happen due to packets arriving out of sequence ? I would have thought the browser would wait until it has the whole page and then render it 100% . But shouldn't it then render the page in the same order every time given it is dealing with the same HTML ? Also, how come the View Source function doesn't always display the HTML for a page (in IE) ? Is there some way of turning this browser function off within a HTML page (maybe to keep your HTML to yourself) ? Thanks The Web Gecko |
|
|
|
|
|
#2 |
|
Member (13 bit)
|
Pages may seem to load differently due to the cache. Unless you tell it to it doesn't load everything all the time, but rather loads most of it from your hard drive after you've been to the site once.
You can disable view source with a javascript, but anyone who turns javascript off will still be able to view it. |
|
|
|
|
|
#3 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
You can't really disable the view source. I have thought this to be possible at one time because I have seen sites where the view source was greyed out. But it turns out if I would close the window and go back to the site, I could view the source. I have also never seen a script that would do this. Now some others try to get tricky and put a lot of space at the beginning of the code to make it appear that there is nothing there. You could also open a window with no toolbar. Even this way is not all that good. That is something that I quite like about PHP and some of the other Server-Side scripting, in that they never show the code, just the HTML. Not quite like js which is plainly visible to all.
As far as the order that the page renders, it is really hard to tell sometimes. Various factors like size, path, nested tables, can all cause the page to load funny. One that may load in one way in IE, may be quite different in NS, since NS is quite slow on rendering nested tables.
__________________
Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row Last edited by mairving; 11-14-2001 at 08:56 PM. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|