GetDotted Domains

Viewing Thread:
"In HTML, is it possible...."

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Mon 08/04/02 at 23:59
Regular
Posts: 787
I have a very slow connection, so when Web Pages load up I look at the Source code to see if the info I want has loaded yet, even if the entire page hasn’t loaded sometimes the info I'm after is in there source, so I press the 'Stop' button, hoping that the code loaded so far will display as normal, but a lot of the times it doesn't.

I was just wondering if there was a way of making it so if the code is downloaded, it's displaying in the browser immediately, rather than waiting for sections at a time??

Thanks in advance.
Mon 08/04/02 at 23:59
Regular
"It goes so quickly"
Posts: 4,083
I have a very slow connection, so when Web Pages load up I look at the Source code to see if the info I want has loaded yet, even if the entire page hasn’t loaded sometimes the info I'm after is in there source, so I press the 'Stop' button, hoping that the code loaded so far will display as normal, but a lot of the times it doesn't.

I was just wondering if there was a way of making it so if the code is downloaded, it's displaying in the browser immediately, rather than waiting for sections at a time??

Thanks in advance.
Tue 09/04/02 at 13:15
Posts: 0
For this kind of thing, when you are building a web page, you need to make sure that you do not put the entire page in one big table.

Have you ever noticed on SR sites, that the banner section at the top loads fairly quickly, and the rest come in after that? That is because it is a seperate table from the main content. Browsers tend not to display the content of a table until they have downloaded all of it, all the images, all the text. If your page is one big table with other tables nested in it, obviously this will have an overhead for the people who want to view it, they may have downloaded most of the content they need, but it won't display until all of it is downloaded.

Take a look at the HTML of this page, you should be able to find the start and the end of the PAGE HEADER. This is one table. The main content is another table, this is the biggie and so takes longer to download, but at least we knew to wait because the banner section has already downloaded for us to look at, right?

As far as I know, this is the most efficient way of doing things, although I have seen javascripts that preload stuff, then displayed it, but you cannot guarantee that they are always going to work.

Hope that made some kind of sense!
Tue 09/04/02 at 13:21
Posts: 0
cjh wrote:
>I was just wondering if there was a way of making it so
> if the code is downloaded, it's displaying in the browser
> immediately, rather than waiting for sections at a time??

Hmmm, now I think I getcha, erm, I think the answer is 'no'... As per my other post, it may have downloaded some of the code, but due to the way the HTML has been structured, it will not actually display it in the browser until it has downloaded all of the code.
Tue 09/04/02 at 13:25
Regular
"It goes so quickly"
Posts: 4,083
I see, thanks for that. Shame though, as I'd made a Site in a Table so it would look good in a 800 X 600 ... oh well.
Thanks for the tips.
Tue 09/04/02 at 13:35
Posts: 0
cjh wrote:
> I see, thanks for that. Shame though, as I'd made a Site
> in a Table so it would look good in a 800 X 600

You could maybe still do it.. I don't know how you designed it, but could it be split into something like a top, middle and bottom table? All with the same width of course, but the height could differ.
Tue 09/04/02 at 13:38
Regular
"Pouch Ape"
Posts: 14,499
Isn't there a way in most browsers so you can turn of the images? Do that and then the code should last pretty fast as it's not being interupted by pictures. Also, stop downloading porn at the same time :)
Tue 09/04/02 at 17:45
Regular
"It goes so quickly"
Posts: 4,083
Oh, right, the porn, ok gotch ya' :o)

I could change the sites, it's just it was one of my pre-PHP sites, so every page is coded indevitually rather than one with loads of PHP majic in it. But I don't think it takes long to load, it's not a image heavy page.

The site that I mainly mean is lycos, I used to play about with that love.lycos.co.uk a while ago, and if you looked at the saurce you'd see the entire code had loded, all the way down to the bit, but still if I pressed 'Stop' nothing would come up. Maybe it's a JavaScript thing?!?!

Who knows, but I'll remember that Table thing, thanks. Actually, if I just added the WIDTH=760 to each Table, it would still be alligned correctly, right??
Tue 09/04/02 at 19:50
Regular
"Devil in disguise"
Posts: 3,151
Not sure if I'm remembering this correctly but browsers generally cannot and will not render pages until they have all the information necessary to format the pages properly. What this means is if that tables (also table cells) and images etc lack height and width attributes then the browser won't render them until its loaded the image and seen the size for itself so it can render the page appropriately.

At least I think its something like that, browsing a few websites backs up my vague memory about it at least.

-G
Tue 09/04/02 at 20:23
Regular
"tinycurve.gif"
Posts: 5,857
There is a script which I saw once on HTMLGoodies which enables browsers to pre-load particular images, as told by the author of the page. I'll look into it for you and post what I find.
Tue 09/04/02 at 20:25
Regular
"tinycurve.gif"
Posts: 5,857
Here she be:

http://htmlgoodies.earthweb.com/tutors/preload.html

Take a look and tell me if it helps.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Brilliant service.
Love it, love it, love it!
Christopher
I've been with Freeola for 14 years...
I've been with Freeola for 14 years now, and in that time you have proven time and time again to be a top-ranking internet service provider and unbeatable hosting service. Thank you.
Anthony

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre
Feedback Close Feedback

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.