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 for(i=0;i<1000;i++) 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 Luigi |
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). Joe |
Luigi,
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.. |
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? Luigi |
All times are GMT -5. The time now is 04:48 PM. |