Solved

How to use header and footer without generating the pages (e.g. with ASP) for a CHM help file?

Posted on 2009-07-01
1
230 Views
Last Modified: 2012-05-07
For a long time now I've produced the HTML for my CHM help using ASP.
I then copy the output from the ASP into HTML files.
However, this is very time consuming if I want to make a change to my header or footer.

At the moment I use variables in my header and footer, to supply it page names and links.

How can I do this more easily?
0
Comment
Question by:mindwarpltd
1 Comment
 
LVL 20

Accepted Solution

by:
alainbryden earned 500 total points
ID: 24794641
If you place tags identifying your header and footer by id (<span id="MyHeaderContent">) then you can write a script that goes through multiple files, uses getElementByID("MyHeaderContent"), and changes the contents as you wish.

--
Alain
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question