> Currently it seems we will use this include technique for > displaying user comments in the same window, while it is > in another file: > http://www.dansteinman.com/dynduo/en/source.html > (see technique 2) With IE code only of course, no NS. > > > Will the doc be IE5+ compatible only ?
I just made a sample user note includer from that DHTML stuff quted above by Dan Steinman. This is IE only, and works well if the file to include is not found. Then nothing will print out in the place of user comments... Try changing the src="chm_notes.html" to some "nonexsistent.html", and nothing will print. This is itself DHTML, but also we need to print out all <iframe> tags in all files with JS, so the src will correctly point to the user notes file relevant to that page. This way if you are interested in user notes, you get this <iframe>, and if you have the user notes HTML files downloadded (we will host it as a separate CHM), the src will point to the right HTML file inside the CHM. This URL is: mk:@MSITStore:C:\dir_where_you_put_your_chm\manual.chm::/file_inside.html This way we can include a user note from another CHM file, displaying it as a content of this HTML file. This is convinient, as you can choose whether you want to see user notes or not, and this seems to nicely degrade if the file is not found in the src="" attribute... Goba
note_display.zip
Description: Zip compressed data