Re: Re[4]: [PHP-DOC-CHM] "The page cannot be displayed" ...

From: Date: Fri, 12 Jul 2002 16:17:11 +0000
Subject: Re: Re[4]: [PHP-DOC-CHM] "The page cannot be displayed" ...
References: 1 2 3 4 5 6 7  Groups: php.doc.chm 
Request: Send a blank email to php-doc-chm+get-265@lists.php.net to get a copy of this message
> I downloaded some of the HTML help tools and at least in my case it seems > that this part of _script.js is causing the problem: > > // Notes buffer for user notes to display on this page > '<iframe name="nbuff" style="display:none" > src="mk:@MSITStore:' + > chmfile_path + 'php_manual_notes.chm::/' + chmfile_page + > '"></iframe>' + > > It seems that if the specified page in the notes.chm doesn't exist the CHM > viewer just instantly gives up. If there was some way of detecting whether > the page exists before including this section the problem would go away. > (As long as the individual html pages check for the presence of 'nbuff' > before referencing it) > > I don't know very much about this stuff so I don't know what to do from > here. > > Apologies if you knew all this already, but I would like to get a fully > working CHM manual as it is very useful. Yes we already relaized that the problem is in the part you have quoted. The problem is that if the page is not found in that iframe, an error message should appear IN THAT IFRAME, but for some reason on some IE6 installations the error jumps one level up, and it's displayed in the document area. This is a bug in IE not in the CHM. We may be able to find workarounds, but it would be much nicer if a service pack or some other sort of thing would solve the problem, as this may also have implications on other CHMs (or any other programs) on your machine. Goba

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