Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-29-2001, 08:00 AM   #1
LQ Newbie
Registered: Aug 2001
Location: Italy
Distribution: kubuntu
Posts: 27

Rep: Reputation: 15
big BIG javascript & loading time

1) having a BIG (>50k) javascript to include in some pages of my site, which is the faster method to do it? At this time I have a .js file src-ed from the html.

2) i have a javascript loop like
document.write('bla bla bla');

the browser waits all the javascript processing before showing any word of the document.
is it possible to "update" the page every let's say 100 items, so that one can start reading the first items while the others are processed?

very newbie in javascript

Old 08-29-2001, 09:56 AM   #2
Registered: Aug 2001
Location: UK
Posts: 48

Rep: Reputation: 15
Don't understand why you are using Javascript to produce the web page.

If the page is so big, why not split it - the users might appreciate smaller pages (usually limit a page to 3 screen scrolls is advice I read somewhere).

Old 08-29-2001, 10:01 AM   #3
Registered: Jun 2001
Location: Sharjah, United Arab Emirates
Distribution: Mandrake Linux 10.1
Posts: 132

Rep: Reputation: 15

I'll bet you're using Netscape. Netscape displays the page AFTEr it has loaded.

And boss, if you have linux now. If you installed Apache, that means you have chance to learn PHP, & cgi..
Old 09-10-2001, 03:53 AM   #4
LQ Newbie
Registered: Aug 2001
Location: Italy
Distribution: kubuntu
Posts: 27

Original Poster
Rep: Reputation: 15
I'm not too much involved in WEB-languages, so i don't want to learn something more only for writing my little home page )
So i've seen that javascript, quite similar to my old friend C++, is simples enought to do i want,
but with some little problems....

Any suggestions?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Big O, Big Omega, and Big Theta oulevon Programming 7 05-26-2010 07:18 AM
Big Time Newbie & Sendmail CrazyCol Linux - Newbie 1 05-31-2005 02:15 PM
Big, big hard drive in a little, little tablet... pengyou Linux - Laptop and Netbook 6 10-18-2004 03:44 AM
Installing RH 9 with RAID 5 --Big, big Problem!!! rhonneil Linux - Software 2 09-25-2003 08:13 PM
F...ed up big time neo77777 Slackware 6 12-01-2002 02:23 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration