21 lines
628 B
JavaScript
21 lines
628 B
JavaScript
///////////////////////////////////////////////////////////////////
|
|
// help.js
|
|
//
|
|
// javaScript include file - allows context-sensitive help to be implemented
|
|
// across a product.
|
|
|
|
var productID;
|
|
var helpFile;
|
|
|
|
//var templates = new Object();
|
|
//templates["IIMP"] = "iimp.htx";
|
|
//templates["IIMPFT"] = "iimpft.htx";
|
|
//templates["IIPA"] = "iipa.htx";
|
|
//templates["IIPAFT"] = "iipaft.htx";
|
|
|
|
function gotoHelp(contextFile, product) {
|
|
product = product.toLowerCase();
|
|
//alert(product);
|
|
var linkString = "/help/" + product + "/htxview?template=" + product + ".htx&content=content/" + contextFile;
|
|
document.location = linkString;
|
|
} |