Re: Re: working sample

From: Date: Tue, 03 Sep 2002 22:35:37 +0000
Subject: Re: Re: working sample
References: 1 2 3  Groups: php.doc.chm 
Request: Send a blank email to php-doc-chm+get-465@lists.php.net to get a copy of this message
"Gabor Hojtsy" <gabor@hojtsy.hu> wrote in message news:005001c25387$e7311880$7d37a3d5@mia... > > 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 :) Goba, you may be able to significantly speed up the process of doing this if instead of listing the existing files or the existing and non existing files, only list the non-existing files. how many non-existing files is there? b/c there is no way to add any user notes directly from the chm, all files that only exist on the chm should not check for the user notes. these user notes will also not have to be listed in the js file. I am not sure how many of these notes there are or how hard this would be to implement but it is an idea. Brendan > > > 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 > >

« previous php.doc.chm (#465) next »