Re: Slow-loading drop down boxes

From: Manfred W. (nospam_at_wischin.at)
Date: 01/23/04


Date: Fri, 23 Jan 2004 09:23:32 +0100

The size of the whole page is about 177kb which is rather large for a HTML
page
and would load very slowly over dialup link. (Don't know what the server
connection is)

For me it seems to be on the server side, because if a load the whole file
from harddisk it is
shown in the browser nearly instantenously (IE6 and Firebird 0.7)

I daubt that any copying of data via JavaScript would be any faster.

Manfred

Leigh wrote:
> Hey, it's great to get some feedback!
>
> As for whether bringing the data to the
> browser is faster when the option boxes are
> not present, yes, pages that have as much
> data loading, but not to option boxes, are
> really fast. I'm pretty sure the option boxes
> are the culprit here.
>
> I've considered a few different schemes to
> get the data from the user if I can't speed
> up the option boxes. I could just use one
> pickbox with a MULTIPLE attribute, and then ask
> the user to sequence the authors later. This has
> the added advantage of not requiring an arbitrary
> number of permitted authors to be designated.
>
> Also I've considered JavaScript (though am
> unfamiliar it)-- I could just grab the resultset
> and then use JavaScript to set it up for the browser.
> It's something I should explore.
>
> Thanks for the comments!
> Still happy to hear any others!
>
> leigh
>
>> Given that the data for the listboxes is the bulk of the HTML, it
>> will naturally make the page load slower. If you really plan to have
>> three separate listboxes, each with the same data, it might be
>> better to load the first one and then call a JavaScript method to
>> copy the data from the first to the second and third. It's less than
>> ideal to use client-based scripting (largely due to browser
>> compatibility issues) but it could get you out of trouble here.
>>
>> Luke



Relevant Pages

  • Re: Buffering HTML page
    ... javascript (in the middle frame) load the page in the lower frame (and ... The javascript then, immediately, ... :: a 3ed party design tool from Acrobat and stored as HTML. ...
    (microsoft.public.inetserver.iis)
  • Re: Buffering HTML page
    ... javascript (in the middle frame) load the page in the lower frame (and until ... The javascript then, immediately, ... a 3ed party design tool from Acrobat and stored as HTML. ...
    (microsoft.public.inetserver.iis)
  • Re: How to pull existing Title tag into the body of the document as text only
    ... >the body of the html page. ... We started coding this with php, ... >and really bogging down the system and the pages load very slowly. ... >To fix this we decided to just use javascript, ...
    (alt.php)
  • Re: How to pull existing Title tag into the body of the document as text only
    ... > the body of the html page. ... > and really bogging down the system and the pages load very slowly. ... > To fix this we decided to just use javascript, ... many static HTML files that need adjustment, ...
    (comp.lang.php)
  • Re: Unhandled exception in MSHTML.DLL
    ... > always crashes when its CHtmlView view started to load a specific local ... > html page, please let me know if I have misunderstood anything. ... > program crashes at. ... All 3 files load just fine in a regular browser. ...
    (microsoft.public.vc.mfc)