mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 01:40:33 +05:00
181 lines
6.1 KiB
HTML
Executable File
181 lines
6.1 KiB
HTML
Executable File
<html>
|
|
<head>
|
|
<title>Mesh Module Reference Manual</title>
|
|
|
|
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
|
<meta name="description" content="WebHelp 5.50">
|
|
</head>
|
|
<script language="javascript1.2" src="whutils.js"></script>
|
|
<script language="javascript1.2" src="whmsg.js"></script>
|
|
<script language="javascript" src="whver.js"></script>
|
|
<script language="javascript1.2" src="whstub.js"></script><script language="javascript1.2" src="whstart.js"></script>
|
|
<script language="javascript">
|
|
<!--
|
|
var strDefaultTopic = "about:blank";
|
|
var nWebhelpNavPaneMode = 1; //1: DHTML 2:Applet 3:PureHTML 4:Noframeset
|
|
var bNoApplet = false;
|
|
var strPaneDHTML = "whd_nvp10.htm"; //whd_nvp10.htm if tab enabled, whnframe.htm if tab disabled.
|
|
var strPaneApplet = "whd_nvp20.htm";
|
|
var strPaneList = "whgdata/whnvp30.htm";
|
|
|
|
var strHTML = "";
|
|
var strPane = "";
|
|
var nViewFrameType = -1;
|
|
|
|
function CMRServer()
|
|
{
|
|
this.m_cAgents = new Array;
|
|
}
|
|
var cMRServer = new CMRServer;
|
|
|
|
//figure out which mode is the best
|
|
if (!window.gAgent)
|
|
{
|
|
// low end browser, we don't even try to determine it.
|
|
document.location = "whnjs.htm";
|
|
}
|
|
else
|
|
{
|
|
if (!gbNav4&&!gbIE4&&!gbOpera7&&!gbSafari)
|
|
document.location = "whnjs.htm";
|
|
else if (gbNav4 && !gbNav6 && ((gnVerMinor <= 4.06)))
|
|
document.location = "whnjs.htm";
|
|
else if (gbMac && gbIE4 && !gbIE5)
|
|
document.location = "whnjs.htm";
|
|
//figure out which mode is the best
|
|
else
|
|
{
|
|
nViewFrameType=nWebhelpNavPaneMode;
|
|
if (nWebhelpNavPaneMode==1||nWebhelpNavPaneMode == 2)
|
|
{
|
|
var gbDHTML=(nWebhelpNavPaneMode==1);
|
|
if (gbNav4) nViewFrameType = 2;
|
|
if (gbNav4&&(gnVerMinor < 4.1)) nViewFrameType = 3;
|
|
if (gbNav4&&(gnVerMinor == 4.6)) nViewFrameType = 3;
|
|
if (gbIE4&&gbDHTML) nViewFrameType = 1;
|
|
if (gbIE4&&gbSunOS&&nWebhelpNavPaneMode==2) nViewFrameType = 3;
|
|
if (gbNav6&&gbDHTML) nViewFrameType = 1;
|
|
if (gbNav6&&!gbNav61&&nWebhelpNavPaneMode == 2) nViewFrameType = 3;
|
|
if (gbMac) nViewFrameType = 3;
|
|
if (gbOpera7&&nViewFrameType == 2) nViewFrameType = 3;
|
|
if ((bNoApplet)&&(nViewFrameType == 2)) nViewFrameType = 3;
|
|
}
|
|
}
|
|
}
|
|
|
|
if (nViewFrameType!=-1)
|
|
{
|
|
var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));
|
|
//The colordepth of the 16 color on Windows is 1.
|
|
if ((gbWindows) && (gbNav4) && (window.screen) && (window.screen.colorDepth <= 4))
|
|
{
|
|
alert("WebHelp has detected that your display is set to 16 colors. For full WebHelp support, please set your display to use 256 or more colors.");
|
|
nViewFrameType = 3;
|
|
}
|
|
|
|
//figure out which one is navpane
|
|
if (nViewFrameType == 1)
|
|
strPane = strPaneDHTML;
|
|
else if (nViewFrameType == 2)
|
|
strPane = strPaneApplet;
|
|
else
|
|
strPane = strPaneList;
|
|
|
|
var oParam = new Object();
|
|
oParam.sTopic = "";
|
|
var oMsg = new whMessage(WH_MSG_GETDEFAULTTOPIC, window, 1, oParam);
|
|
if (SendMessage(oMsg) && oParam.sTopic != "")
|
|
strDefaultTopic = oParam.sTopic;
|
|
|
|
|
|
if (nViewFrameType == 1)
|
|
{
|
|
//DHTML (iframe or xml based)
|
|
strHTML += "<frameset id=\"whPfset\" cols=\"260,*\" frameborder=\"1\">";
|
|
strHTML += "<frame name=\"bsscleft\" title=\"navigation frame\" src=\"" + strPane + "\" scrolling=\"no\"></frame>";
|
|
strHTML += "<frame name=\"bsscright\" title=\"topic frame\" src=\"" + strDefaultTopic + "\" scrolling=\"auto\"></frame></frameset>";
|
|
}
|
|
else if (nViewFrameType == 2)
|
|
{
|
|
//applet (xml based)
|
|
strHTML += "<frameset id=\"whPfset\" cols=\"260,*\" framespacing=\"0\" frameborder=\"0\" border=\"0\">";
|
|
strHTML += "<frame name=\"bsscleft\" title=\"navigation frame\" src=\"" + strPane+ "\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\"></frame>";
|
|
strHTML += "<frame name=\"bsscright\" title=\"topic frame\" src=\"" + strDefaultTopic + "\" scrolling=\"auto\"></frame></frameset>";
|
|
}
|
|
else if (nViewFrameType == 3)
|
|
{
|
|
//generic html (pure html based)
|
|
strHTML += "<frameset id=\"whPfset\" cols=\"260,*\">";
|
|
strHTML += "<frame title=\"navigation frame\" src=\"" + strPane + "\" name=\"bsscleft\" scrolling=\"no\"></frame>";
|
|
strHTML += "<frame title=\"topic frame\" src=\"" + strDefaultTopic + "\" name=\"bsscright\" scrolling=\"auto\"></frame>";
|
|
strHTML += "</frameset>";
|
|
}
|
|
else if (nViewFrameType == 4)
|
|
{
|
|
//no navipane at all
|
|
strHTML += "<frameset id=\"whPfset\" border=\"0\" cols=\"100%,*\">";
|
|
strHTML += "<frame title=\"topic frame\" src=\"" + strDefaultTopic + "\" name=\"bsscright\" framespacing=\"0\" frameborder=\"0\" border=\"0\" scrolling=\"auto\">";
|
|
strHTML += "</frameset>";
|
|
}
|
|
|
|
document.write(strHTML);
|
|
|
|
RegisterListener2(window, WH_MSG_SHOWPANE);
|
|
RegisterListener2(window, WH_MSG_HIDEPANE);
|
|
RegisterListener2(window, WH_MSG_ISPANEVISIBLE);
|
|
window.onunload = window_unload;
|
|
}
|
|
|
|
function window_unload()
|
|
{
|
|
UnRegisterListener2(window, WH_MSG_SHOWPANE);
|
|
UnRegisterListener2(window, WH_MSG_HIDEPANE);
|
|
UnRegisterListener2(window, WH_MSG_ISPANEVISIBLE);
|
|
}
|
|
|
|
|
|
function onSendMessage(oMsg)
|
|
{
|
|
var nMsgId = oMsg.nMessageId;
|
|
if (nMsgId == WH_MSG_SHOWPANE)
|
|
{
|
|
getElement("whPfset").cols = "260,*";
|
|
var onMsg = new whMessage(WH_MSG_PANESTATUE, this, 1, "visible");
|
|
SendMessage(onMsg);
|
|
onMsg = new whMessage(WH_MSG_GETPANEINFO, this, 1, "");
|
|
if (SendMessage(onMsg))
|
|
{
|
|
onMsg = new whMessage(WH_MSG_PANEINFO, this, 1, onMsg.oParam);
|
|
SendMessage(onMsg);
|
|
}
|
|
return false;
|
|
}
|
|
else if (nMsgId == WH_MSG_HIDEPANE)
|
|
{
|
|
getElement("whPfset").cols = "0,*";
|
|
var onMsg = new whMessage(WH_MSG_PANESTATUE, this, 1, "invisible");
|
|
SendMessage(onMsg);
|
|
onMsg = new whMessage(WH_MSG_PANEINFO, this, 1, "");
|
|
SendMessage(onMsg);
|
|
return false;
|
|
}
|
|
else if (nMsgId == WH_MSG_ISPANEVISIBLE)
|
|
{
|
|
var n = parseInt(getElement("whPfset").cols);
|
|
if (n > 0)
|
|
{
|
|
oMsg.oParam.bVisible = true;
|
|
}
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
//-->
|
|
</script>
|
|
<body>
|
|
<noscript>
|
|
<p> It seems javascript is disabled in your browser, please enable it and reload again, or click <a href="whnjs.htm">here</a> to view without javascript</p>
|
|
</noscript>
|
|
</body>
|
|
</html>
|