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
208 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
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now