PC Review


Reply
Thread Tools Rate Thread

changing the loading order

 
 
=?Utf-8?B?dWtfc2FpbG9y?=
Guest
Posts: n/a
 
      6th Dec 2005
How can I change the order of things that load on my webpage? e.g.The
javascript menu currently loads last and I would like it to load before the
graphics do.

Thanks
 
Reply With Quote
 
 
 
 
Andrew Murray
Guest
Posts: n/a
 
      6th Dec 2005
I don't think you can control it; it's random.

"uk_sailor" <(E-Mail Removed)> wrote in message
news:E3476227-8750-471E-AE0E-(E-Mail Removed)...
> How can I change the order of things that load on my webpage? e.g.The
> javascript menu currently loads last and I would like it to load before
> the
> graphics do.
>
> Thanks



 
Reply With Quote
 
Murray
Guest
Posts: n/a
 
      6th Dec 2005
Not exactly random, but it works like this -

The code on the page is parsed from <html> to </html> by the client browser.
Each external reference is requested from the server as it is encountered in
that parsing. As the requested files have been received by the browser,
they are rendered onto the page. Since files are packetized when they are
transmitted, some files will arrive and be rendered before other (perhaps
ones that have been requested earlier even) files.

If you want to optimize the arrival of a page element, its markup must be
moved higher in the code. Since location in the code often determines
location on the page, this may not be a good solution.

--
Murray
============

"Andrew Murray" <(E-Mail Removed)> wrote in message
news:O%23rWEok%(E-Mail Removed)...
>I don't think you can control it; it's random.
>
> "uk_sailor" <(E-Mail Removed)> wrote in message
> news:E3476227-8750-471E-AE0E-(E-Mail Removed)...
>> How can I change the order of things that load on my webpage? e.g.The
>> javascript menu currently loads last and I would like it to load before
>> the
>> graphics do.
>>
>> Thanks

>
>



 
Reply With Quote
 
=?Utf-8?B?dWtfc2FpbG9y?=
Guest
Posts: n/a
 
      6th Dec 2005
Thanks Murray, that is informative. I am using frames. A top border, a left
border where the js menu and nothing else resides and a target frame where
all the content resides. Do you know if it is possible to get the left border
to load before the content frame?


"Murray" wrote:

> Not exactly random, but it works like this -
>
> The code on the page is parsed from <html> to </html> by the client browser.
> Each external reference is requested from the server as it is encountered in
> that parsing. As the requested files have been received by the browser,
> they are rendered onto the page. Since files are packetized when they are
> transmitted, some files will arrive and be rendered before other (perhaps
> ones that have been requested earlier even) files.
>
> If you want to optimize the arrival of a page element, its markup must be
> moved higher in the code. Since location in the code often determines
> location on the page, this may not be a good solution.
>
> --
> Murray
> ============
>
> "Andrew Murray" <(E-Mail Removed)> wrote in message
> news:O%23rWEok%(E-Mail Removed)...
> >I don't think you can control it; it's random.
> >
> > "uk_sailor" <(E-Mail Removed)> wrote in message
> > news:E3476227-8750-471E-AE0E-(E-Mail Removed)...
> >> How can I change the order of things that load on my webpage? e.g.The
> >> javascript menu currently loads last and I would like it to load before
> >> the
> >> graphics do.
> >>
> >> Thanks

> >
> >

>
>
>

 
Reply With Quote
 
Murray
Guest
Posts: n/a
 
      6th Dec 2005
You would have no control over this. Furthermore, it's likely your js menu
is massively heavy like most I've seen, so there would be no chance to
affect the way your pages appear.

--
Murray
============

"uk_sailor" <(E-Mail Removed)> wrote in message
news:C5AC96F3-D313-4887-A259-(E-Mail Removed)...
> Thanks Murray, that is informative. I am using frames. A top border, a
> left
> border where the js menu and nothing else resides and a target frame where
> all the content resides. Do you know if it is possible to get the left
> border
> to load before the content frame?
>
>
> "Murray" wrote:
>
>> Not exactly random, but it works like this -
>>
>> The code on the page is parsed from <html> to </html> by the client
>> browser.
>> Each external reference is requested from the server as it is encountered
>> in
>> that parsing. As the requested files have been received by the browser,
>> they are rendered onto the page. Since files are packetized when they
>> are
>> transmitted, some files will arrive and be rendered before other (perhaps
>> ones that have been requested earlier even) files.
>>
>> If you want to optimize the arrival of a page element, its markup must be
>> moved higher in the code. Since location in the code often determines
>> location on the page, this may not be a good solution.
>>
>> --
>> Murray
>> ============
>>
>> "Andrew Murray" <(E-Mail Removed)> wrote in message
>> news:O%23rWEok%(E-Mail Removed)...
>> >I don't think you can control it; it's random.
>> >
>> > "uk_sailor" <(E-Mail Removed)> wrote in message
>> > news:E3476227-8750-471E-AE0E-(E-Mail Removed)...
>> >> How can I change the order of things that load on my webpage? e.g.The
>> >> javascript menu currently loads last and I would like it to load
>> >> before
>> >> the
>> >> graphics do.
>> >>
>> >> Thanks
>> >
>> >

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change series plotting order without changing legend order? PatrickM Microsoft Excel Charting 6 2nd Dec 2009 07:43 PM
How stop Excel file UK date order changing to US order in m.merge =?Utf-8?B?Um9nZXIgQWxkcmlkZ2U=?= Microsoft Excel Misc 1 9th Oct 2007 11:52 PM
Loading Order Steve Giannoni Windows XP Hardware 5 6th Nov 2006 04:52 PM
loading order in XP Pro Vic Baron Windows XP Help 2 24th Jan 2005 10:54 PM
Order of loading pages... Seth Broomer Microsoft ASP .NET 3 3rd May 2004 08:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:59 PM.