Re: Re: working sample
| From: | Gabor Hojtsy | Date: | Tue, 03 Sep 2002 20:24:27 +0000 |
| Subject: | Re: Re: working sample | ||
| References: | 1 2 | Groups: | php.doc.chm |
| Request: | Send a blank email to php-doc-chm+get-463@lists.php.net to get a copy of this message | ||
> never mind. it doesn't work when I change it to a non-existent location.
>
> goba, I know this idea is kinda elaborate but could we use a program to
> generate a "user" js file, telling what files exist and what ones don't.
> then we could forget even requesting pages that didn't exist. if someone
> wanted to view the user notes, they would first have to hit a button that
> said "generate user base" or something like that.
We can include a JS file in the user note CHM containing a list of files
inside the CHM, and we can load in that JS file every time for every page.
Currently we have ~1200 files in the notes CHM with varying file name
lengths. I don't know how this would affect speed, but we can turn to
use this method if IE6 is detected, and use the old method (which is as
far as I can think of it now is faster) if the UA is not IE6. This seems
to be a sensible workaround... Other thoughts? Before I implement this :)
> I wonder if frames would be an option?
> has any one tried using frames?
I previously described why frames won't work... You need to rewrite
the window structure every time in JS because all navigational methods
provided by the viewer put the page into the whole window...
Goba