smesh/doc/salome/gui/SMESH/whdata/whtoc.js

31 lines
556 B
JavaScript
Raw Normal View History

2007-02-07 17:14:23 +05:00
// WebHelp 5.10.001
// const strings
var gaProj = new Array();
var gsRoot = "";
function setRoot(sRoot)
{
gsRoot = sRoot
}
function aPE(sProjPath, sRootPath)
{
gaProj[gaProj.length] = new tocProjEntry(sProjPath, sRootPath);
}
function tocProjEntry(sProjPath, sRootPath)
{
if(sProjPath.lastIndexOf("/")!=sProjPath.length-1)
sProjPath+="/";
this.sPPath = sProjPath;
this.sRPath = sRootPath;
}
function window_OnLoad()
{
if (parent && parent != this && parent.projReady) {
parent.projReady(gsRoot, gaProj);
}
}
2004-06-18 14:55:35 +06:00
window.onload = window_OnLoad;