mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-05 06:10:33 +05:00
860d831343
Cherrypick from master 2006-06-08 14:05:08 UTC jfa <jfa@opencascade.com> 'Warn about direct SMESH idl usage: smesh python package have to be used where it is possible.': SMESH_version.h.in adm_local/Makefile.in adm_local/unix/config_files/check_SMESH.m4 bin/VERSION.in doc/salome/gui/SMESH/adding_quadratic_nodes_and_elements.htm doc/salome/gui/SMESH/files/vtk_3d_viewer.htm doc/salome/gui/SMESH/image142.gif doc/salome/gui/SMESH/image143.gif doc/salome/gui/SMESH/image144.gif doc/salome/gui/SMESH/image145.gif doc/salome/gui/SMESH/image146.gif doc/salome/gui/SMESH/image147.gif doc/salome/gui/SMESH/image148.gif doc/salome/gui/SMESH/image15.jpg doc/salome/gui/SMESH/image151.gif doc/salome/gui/SMESH/image152.gif doc/salome/gui/SMESH/index.htm doc/salome/gui/SMESH/index_csh.htm doc/salome/gui/SMESH/index_rhc.htm doc/salome/gui/SMESH/merge_elements.htm doc/salome/gui/SMESH/mesh.htm doc/salome/gui/SMESH/pics/advanced_mesh_infos.png doc/salome/gui/SMESH/pics/aqt.png doc/salome/gui/SMESH/pics/automaticlength.png doc/salome/gui/SMESH/pics/createmesh-inv.png doc/salome/gui/SMESH/pics/createmesh-inv2.png doc/salome/gui/SMESH/pics/createmesh-inv3.png doc/salome/gui/SMESH/pics/distributionwithanalyticdensity.png doc/salome/gui/SMESH/pics/distributionwithtabledensity.png doc/salome/gui/SMESH/pics/graduatedaxes1.png doc/salome/gui/SMESH/pics/image100.gif doc/salome/gui/SMESH/pics/image102.gif doc/salome/gui/SMESH/pics/image107.gif doc/salome/gui/SMESH/pics/image108.gif doc/salome/gui/SMESH/pics/image109.gif doc/salome/gui/SMESH/pics/image138.gif doc/salome/gui/SMESH/pics/image139.gif doc/salome/gui/SMESH/pics/image21.gif doc/salome/gui/SMESH/pics/image23.gif doc/salome/gui/SMESH/pics/image27.gif doc/salome/gui/SMESH/pics/image77.gif doc/salome/gui/SMESH/pics/image78.gif doc/salome/gui/SMESH/pics/image89.gif doc/salome/gui/SMESH/pics/image91.gif doc/salome/gui/SMESH/pics/image96.gif doc/salome/gui/SMESH/pics/image97.gif doc/salome/gui/SMESH/pics/image98.gif doc/salome/gui/SMESH/pics/image99.gif doc/salome/gui/SMESH/pics/length-crit.png doc/salome/gui/SMESH/pics/mergeelems.png doc/salome/gui/SMESH/pics/meshexportmesh.png doc/salome/gui/SMESH/pics/meshimportmesh.png doc/salome/gui/SMESH/pics/meshtrianglemergeelem1.png doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh.html doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Algorithm.html doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Algorithm__inherit__graph.jpg doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Hexahedron.html doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Hexahedron__inherit__graph.jpg doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Netgen.html doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Netgen__inherit__graph.jpg doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Quadrangle.html doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Quadrangle__inherit__graph.jpg doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment.html doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment__Python.html doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment__Python__inherit__graph.jpg doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment__inherit__graph.jpg doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Tetrahedron.html doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Tetrahedron__inherit__graph.jpg doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Triangle.html doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Triangle__inherit__graph.jpg doc/salome/gui/SMESH/smeshpy_doc/doxygen.css doc/salome/gui/SMESH/smeshpy_doc/namespacesmesh.html doc/salome/gui/SMESH/volume.htm doc/salome/gui/SMESH/whd_dpns.htm doc/salome/gui/SMESH/whd_hide0.gif doc/salome/gui/SMESH/whd_hide1.gif doc/salome/gui/SMESH/whd_hide2.gif doc/salome/gui/SMESH/whd_next0.gif doc/salome/gui/SMESH/whd_next1.gif doc/salome/gui/SMESH/whd_next2.gif doc/salome/gui/SMESH/whd_nvp10.htm doc/salome/gui/SMESH/whd_nvp20.htm doc/salome/gui/SMESH/whd_prev0.gif doc/salome/gui/SMESH/whd_prev1.gif doc/salome/gui/SMESH/whd_prev2.gif doc/salome/gui/SMESH/whd_show0.gif doc/salome/gui/SMESH/whd_show1.gif doc/salome/gui/SMESH/whd_show2.gif doc/salome/gui/SMESH/whd_sync0.gif doc/salome/gui/SMESH/whd_sync1.gif doc/salome/gui/SMESH/whd_sync2.gif doc/salome/gui/SMESH/whd_tab0.gif doc/salome/gui/SMESH/whd_tab1.gif doc/salome/gui/SMESH/whd_tab2.gif doc/salome/gui/SMESH/whd_tab3.gif doc/salome/gui/SMESH/whd_tab4.gif doc/salome/gui/SMESH/whd_tab5.gif doc/salome/gui/SMESH/whd_tab6.gif doc/salome/gui/SMESH/whd_tab7.gif doc/salome/gui/SMESH/whd_tab8.gif doc/salome/gui/SMESH/whd_tabs.htm doc/salome/gui/SMESH/whd_toc1.gif doc/salome/gui/SMESH/whd_toc2.gif doc/salome/gui/SMESH/whd_toc3.gif doc/salome/gui/SMESH/whd_toc4.gif doc/salome/gui/SMESH/whd_topic.xml doc/salome/gui/SMESH/whd_wbsh0.gif doc/salome/gui/SMESH/whd_wbsh1.gif doc/salome/gui/SMESH/whd_wbsh2.gif doc/salome/gui/SMESH/whgdata/whlstf13.htm doc/salome/tui/SMESH/doxyfile.in doc/salome/tui/SMESH/doxyfile_py.in doc/salome/tui/SMESH/sources/footer.html doc/salome/tui/SMESH/sources/static/tree.js.in resources/SMESHCatalog.xml.in resources/SalomeApp.xml resources/mesh_conv_to_quad.png resources/mesh_tree_algo_netgen_2d.png resources/mesh_tree_algo_netgen_2d3d.png resources/mesh_tree_hypo_netgen.png resources/mesh_tree_hypo_netgen_2d.png src/DriverUNV/UNV2417_Structure.cxx src/DriverUNV/UNV2417_Structure.hxx src/SMDS/SMDS_QuadraticEdge.cxx src/SMDS/SMDS_QuadraticEdge.hxx src/SMDS/SMDS_QuadraticFaceOfNodes.cxx src/SMDS/SMDS_QuadraticFaceOfNodes.hxx src/SMDS/SMDS_QuadraticVolumeOfNodes.cxx src/SMDS/SMDS_QuadraticVolumeOfNodes.hxx src/SMDS/SMDS_SetIterator.hxx src/SMESH/SMESH_MesherHelper.cxx src/SMESH/SMESH_MesherHelper.hxx src/SMESHClient/Makefile.in src/SMESHClient/SMESHClientBin.cxx src/SMESHClient/SMESH_Client.cxx src/SMESHClient/SMESH_Client.hxx src/SMESHGUI/SMESHGUI_AddQuadraticElementDlg.cxx src/SMESHGUI/SMESHGUI_AddQuadraticElementDlg.h src/SMESHGUI/SMESHGUI_ConvToQuadDlg.cxx src/SMESHGUI/SMESHGUI_ConvToQuadDlg.h src/SMESHGUI/SMESHGUI_ConvToQuadOp.cxx src/SMESHGUI/SMESHGUI_ConvToQuadOp.h src/SMESH_SWIG/SMESH_AdvancedEditor.py src/SMESH_SWIG/SMESH_fixation_netgen.py src/SMESH_SWIG/SMESH_mechanic_netgen.py src/SMESH_SWIG/ex21_lamp.py src/StdMeshers/StdMeshers_QuadraticMesh.cxx src/StdMeshers/StdMeshers_QuadraticMesh.hxx src/StdMeshers_I/StdMeshers_QuadraticMesh_i.cxx src/StdMeshers_I/StdMeshers_QuadraticMesh_i.hxx
533 lines
12 KiB
HTML
Executable File
533 lines
12 KiB
HTML
Executable File
<HTML>
|
|
<HEAD>
|
|
<TITLE>WebHelp Tabs Frame in Navigation Pane</TITLE>
|
|
|
|
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
|
<meta name="description" content="WebHelp 5.50">
|
|
<!-- WebHelp version 5.10 -->
|
|
</HEAD>
|
|
<script language="javascript" src="whver.js"></script>
|
|
<script language="javascript1.2" src="whmsg.js"></script>
|
|
<script language="javascript1.2" src="whproxy.js"></script>
|
|
<script language="javascript1.2" src="whutils.js"></script>
|
|
<script language="javascript1.2">
|
|
<!--
|
|
var gsBgColor="#c0c0c0"
|
|
var gsBgImage="";
|
|
var gnCurPane=0;
|
|
var gsFirstPane="";
|
|
var goTocFont=null;
|
|
var goIdxFont=null;
|
|
var goFtsFont=null;
|
|
var goGloFont=null;
|
|
var gPane=new Array();
|
|
var gShowFirst=0;
|
|
var gnTabType=0;
|
|
|
|
function window_unload()
|
|
{
|
|
UnRegisterListener2(this,WH_MSG_SHOWTOC);
|
|
UnRegisterListener2(this,WH_MSG_SHOWIDX);
|
|
UnRegisterListener2(this,WH_MSG_SHOWFTS);
|
|
UnRegisterListener2(this,WH_MSG_SHOWGLO);
|
|
}
|
|
|
|
|
|
function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
|
|
{
|
|
var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
|
|
if(sType=="Toc") goTocFont=vFont;
|
|
else if(sType=="Idx") goIdxFont=vFont;
|
|
else if(sType=="Fts") goFtsFont=vFont;
|
|
else if(sType=="Glo") goGloFont=vFont;
|
|
}
|
|
|
|
function TocWriteClassStyle()
|
|
{
|
|
var sStyle="<STYLE TYPE='text/css'>";
|
|
sStyle+=".TextTabToc {"+getFontStyle(goTocFont)+"}";
|
|
sStyle+=".TextTabIdx {"+getFontStyle(goIdxFont)+"}";
|
|
sStyle+=".TextTabFts {"+getFontStyle(goFtsFont)+"}";
|
|
sStyle+=".TextTabGlo {"+getFontStyle(goGloFont)+"}";
|
|
sStyle+="A:hover {text-decoration:underline;}";
|
|
sStyle+="</STYLE>";
|
|
document.write(sStyle);
|
|
}
|
|
|
|
function setBackgroundcolor(sBgColor)
|
|
{
|
|
if(sBgColor!=null&&sBgColor.length>0)
|
|
gsBgColor=sBgColor;
|
|
}
|
|
|
|
function setBackground(sBgImage)
|
|
{
|
|
if(sBgImage!=null&&sBgImage.length>0)
|
|
gsBgImage=sBgImage;
|
|
}
|
|
|
|
function selectToc()
|
|
{
|
|
var oMessage=new whMessage(WH_MSG_SHOWTOC,this,1,null);
|
|
SendMessage(oMessage);
|
|
}
|
|
|
|
function selectIdx()
|
|
{
|
|
var oMessage=new whMessage(WH_MSG_SHOWIDX,this,1,null);
|
|
SendMessage(oMessage);
|
|
}
|
|
function selectFts()
|
|
{
|
|
var oMessage=new whMessage(WH_MSG_SHOWFTS,this,1,null);
|
|
SendMessage(oMessage);
|
|
}
|
|
|
|
function selectGlo()
|
|
{
|
|
var oMessage=new whMessage(WH_MSG_SHOWGLO,this,1,null);
|
|
SendMessage(oMessage);
|
|
}
|
|
|
|
|
|
function onSendMessage(oMsg)
|
|
{
|
|
if(oMsg)
|
|
{
|
|
var nMsgId=oMsg.nMessageId;
|
|
if(nMsgId==WH_MSG_SHOWTOC)
|
|
{
|
|
setTimeout("showTabByName(\"toc\");",1);
|
|
}
|
|
else if(nMsgId==WH_MSG_SHOWIDX)
|
|
{
|
|
setTimeout("showTabByName(\"idx\");",1);
|
|
}
|
|
else if(nMsgId==WH_MSG_SHOWFTS)
|
|
{
|
|
setTimeout("showTabByName(\"fts\");",1);
|
|
}
|
|
else if(nMsgId==WH_MSG_SHOWGLO)
|
|
{
|
|
setTimeout("showTabByName(\"glo\");",1);
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
|
|
function showTabByName(sTabName)
|
|
{
|
|
for(var i=0;i<gPane.length;i++)
|
|
{
|
|
if(gPane[i]==sTabName)
|
|
{
|
|
showTab(i);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
function showTab(n)
|
|
{
|
|
gnCurPane=n;
|
|
if(gnTabType==0)
|
|
{
|
|
if(n<gPane.length)
|
|
{
|
|
if(document.images["TocTab"]&&document.images["TocTab"]!=null){
|
|
if(gPane[n]=="toc")
|
|
document.images["TocTab"].src=getBtnImage("toc",1);
|
|
else
|
|
document.images["TocTab"].src=getBtnImage("toc",0);
|
|
}
|
|
if(document.images["IndexTab"]&&document.images["IndexTab"]!=null){
|
|
if(gPane[n]=="idx")
|
|
document.images["IndexTab"].src=getBtnImage("idx",1);
|
|
else
|
|
document.images["IndexTab"].src=getBtnImage("idx",0);
|
|
}
|
|
if(document.images["FtsTab"]&&document.images["FtsTab"]!=null){
|
|
if(gPane[n]=="fts")
|
|
document.images["FtsTab"].src=getBtnImage("fts",1);
|
|
else
|
|
document.images["FtsTab"].src=getBtnImage("fts",0);
|
|
}
|
|
if(document.images["GloTab"]&&document.images["GloTab"]!=null){
|
|
if(gPane[n]=="glo")
|
|
document.images["GloTab"].src=getBtnImage("glo",1);
|
|
else
|
|
document.images["GloTab"].src=getBtnImage("glo",0);
|
|
}
|
|
}
|
|
}
|
|
else if(gnTabType==1)
|
|
{
|
|
}
|
|
else if(gnTabType==2)
|
|
{
|
|
if(n<gPane.length)
|
|
{
|
|
if(document.images["tabSelection"]!=null)
|
|
document.images["tabSelection"].src=getMapImage(gPane[n]);
|
|
}
|
|
}
|
|
}
|
|
|
|
function addPane(sName)
|
|
{
|
|
gPane[gPane.length]=sName;
|
|
}
|
|
|
|
function setShowPane(sName)
|
|
{
|
|
if(gsFirstPane!="")
|
|
sName=gsFirstPane;
|
|
for(var i=0;i<gPane.length;i++)
|
|
{
|
|
if(gPane[i]==sName)
|
|
gShowFirst=i;
|
|
}
|
|
}
|
|
|
|
function selectDefaultTab()
|
|
{
|
|
showTab(gShowFirst);
|
|
if(document.body)
|
|
{
|
|
if(gsBgImage&&gsBgImage.length>0)
|
|
{
|
|
document.body.background=gsBgImage;
|
|
}
|
|
if(gsBgColor&&gsBgColor.length>0)
|
|
{
|
|
document.body.bgColor=gsBgColor;
|
|
}
|
|
}
|
|
}
|
|
|
|
function getTabsHTML()
|
|
{
|
|
var sHTML="";
|
|
for(var i=0;i<gPane.length;i++)
|
|
{
|
|
if(gnTabType==0)
|
|
sHTML+=getTabHTML(gPane[i]);
|
|
else if(gnTabType==1)
|
|
{
|
|
if(sHTML.length>0)
|
|
{
|
|
sHTML+=getSeparator();
|
|
}
|
|
sHTML+=getTabHTMLText(gPane[i]);
|
|
}
|
|
|
|
}
|
|
return sHTML;
|
|
}
|
|
|
|
function getSeparator()
|
|
{
|
|
var sSep="";
|
|
|
|
return sSep;
|
|
}
|
|
|
|
function getTabHTML(sTabName)
|
|
{
|
|
if (sTabName == "toc")
|
|
return "<a title=\"Contents\" href=\"javascript:void(0);\" onclick=\"selectToc();return false;\" onmouseover=\"mouseOverToc();\" onmouseout=\"mouseOutToc();\"><img name=\"TocTab\" src=\"" + getBtnImage(sTabName, 0) + "\" border=\"0\"></a>";
|
|
else if (sTabName =="idx")
|
|
return "<a title=\"Index\" href=\"javascript:void(0);\" onclick=\"selectIdx();return false;\" onmouseover=\"mouseOverIdx();\" onmouseout=\"mouseOutIdx();\"><img name=\"IndexTab\" src=\"" + getBtnImage(sTabName, 0) + "\" border=\"0\"></a>";
|
|
else if (sTabName == "fts")
|
|
return "<a title=\"Search\" href=\"javascript:void(0);\" onclick=\"selectFts();return false;\" onmouseover=\"mouseOverFts();\" onmouseout=\"mouseOutFts();\"><img name=\"FtsTab\" src=\"" + getBtnImage(sTabName, 0) + "\" border=\"0\"></a>";
|
|
else if (sTabName == "glo")
|
|
return "<a title=\"Glossary\" href=\"javascript:void(0);\" onclick=\"selectGlo();return false;\"onmouseover=\"mouseOverGlo();\" onmouseout=\"mouseOutGlo();\"><img name=\"GloTab\" src=\"" + getBtnImage(sTabName, 0) + "\" border=\"0\"></a>";
|
|
return "";
|
|
}
|
|
|
|
function mouseOverToc()
|
|
{
|
|
var sImg = "";
|
|
if (gPane[gnCurPane] == "toc")
|
|
{
|
|
sImg = getBtnImage("toc", 3);
|
|
}
|
|
else
|
|
{
|
|
sImg = getBtnImage("toc", 2);
|
|
}
|
|
if (sImg.length > 0)
|
|
document.images["TocTab"].src = sImg;
|
|
}
|
|
|
|
function mouseOverIdx()
|
|
{
|
|
var sImg = "";
|
|
if (gPane[gnCurPane] == "idx")
|
|
{
|
|
sImg = getBtnImage("idx", 3);
|
|
}
|
|
else
|
|
{
|
|
sImg = getBtnImage("idx", 2);
|
|
}
|
|
if (sImg.length > 0)
|
|
document.images["IndexTab"].src = sImg;
|
|
}
|
|
|
|
function mouseOverFts()
|
|
{
|
|
var sImg = "";
|
|
if (gPane[gnCurPane] == "fts")
|
|
{
|
|
sImg = getBtnImage("fts", 3);
|
|
}
|
|
else
|
|
{
|
|
sImg = getBtnImage("fts", 2);
|
|
}
|
|
if (sImg.length > 0)
|
|
document.images["FtsTab"].src = sImg;
|
|
}
|
|
|
|
function mouseOverGlo()
|
|
{
|
|
var sImg = "";
|
|
if (gPane[gnCurPane] == "glo")
|
|
{
|
|
sImg = getBtnImage("glo", 3);
|
|
}
|
|
else
|
|
{
|
|
sImg = getBtnImage("glo", 2);
|
|
}
|
|
if (sImg.length > 0)
|
|
document.images["GloTab"].src = sImg;
|
|
}
|
|
|
|
function mouseOutToc()
|
|
{
|
|
var sImg = "";
|
|
if (gPane[gnCurPane] == "toc")
|
|
{
|
|
sImg = getBtnImage("toc", 1);
|
|
}
|
|
else
|
|
{
|
|
sImg = getBtnImage("toc", 0);
|
|
}
|
|
if (sImg.length > 0)
|
|
document.images["TocTab"].src = sImg;
|
|
}
|
|
|
|
function mouseOutIdx()
|
|
{
|
|
var sImg = "";
|
|
if (gPane[gnCurPane] == "idx")
|
|
{
|
|
sImg = getBtnImage("idx", 1);
|
|
}
|
|
else
|
|
{
|
|
sImg = getBtnImage("idx", 0);
|
|
}
|
|
if (sImg.length > 0)
|
|
document.images["IndexTab"].src = sImg;
|
|
}
|
|
|
|
function mouseOutFts()
|
|
{
|
|
var sImg = "";
|
|
if (gPane[gnCurPane] == "fts")
|
|
{
|
|
sImg = getBtnImage("fts", 1);
|
|
}
|
|
else
|
|
{
|
|
sImg = getBtnImage("fts", 0);
|
|
}
|
|
if (sImg.length > 0)
|
|
document.images["FtsTab"].src = sImg;
|
|
}
|
|
|
|
function mouseOutGlo()
|
|
{
|
|
var sImg = "";
|
|
if (gPane[gnCurPane] == "glo")
|
|
{
|
|
sImg = getBtnImage("glo", 1);
|
|
}
|
|
else
|
|
{
|
|
sImg = getBtnImage("glo", 0);
|
|
}
|
|
if (sImg.length > 0)
|
|
document.images["GloTab"].src = sImg;
|
|
}
|
|
|
|
function getTabHTMLText(sTabName)
|
|
{
|
|
if (sTabName == "toc")
|
|
return "<a class=\"TextTabToc\" href=\"javascript:void(0);\" onclick=\"selectToc();return false;\">Contents</a> ";
|
|
else if (sTabName =="idx")
|
|
return "<a class=\"TextTabIdx\" href=\"javascript:void(0);\" onclick=\"selectIdx();return false;\">Index</a> ";
|
|
else if (sTabName == "fts")
|
|
return "<a class=\"TextTabFts\" href=\"javascript:void(0);\" onclick=\"selectFts();return false;\">Search</a> ";
|
|
else if (sTabName == "glo")
|
|
return "<a class=\"TextTabGlo\" href=\"javascript:void(0);\" onclick=\"selectGlo();return false;\">Glossary</a> ";
|
|
return "";
|
|
}
|
|
|
|
function getImageMap()
|
|
{
|
|
var sHTML = "<map name=\"tabSelectionMap\">";
|
|
for (var i = 0; i < gPane.length; i ++)
|
|
{
|
|
sHTML += getMapArea(gPane[i]);
|
|
}
|
|
sHTML += "</map>";
|
|
return sHTML;
|
|
}
|
|
|
|
function getMapArea(sTabName)
|
|
{
|
|
if (sTabName == "toc")
|
|
return "<area title=\"Contents\" shape=\"\" coords=\"\" href=\"javascript:void(0);\" onclick=\"selectToc();return false;\">";
|
|
else if (sTabName =="idx")
|
|
return "<area title=\"Index\" shape=\"\" coords=\"\" href=\"javascript:void(0);\" onclick=\"selectIdx();return false;\">";
|
|
else if (sTabName == "fts")
|
|
return "<area title=\"Search\" shape=\"\" coords=\"\" href=\"javascript:void(0);\" onclick=\"selectFts();return false;\">";
|
|
else if (sTabName == "glo")
|
|
return "<area title=\"Glossary\" shape=\"\" coords=\"\" href=\"javascript:void(0);\" onclick=\"selectGlo();return false;\">";
|
|
return "";
|
|
}
|
|
|
|
function getBtnImage(sTabName, nStatus)
|
|
{
|
|
if (sTabName == "toc")
|
|
{
|
|
if (nStatus == 0)
|
|
return "whd_tab2.gif";
|
|
else if (nStatus == 1)
|
|
return "whd_tab1.gif";
|
|
else if (nStatus == 2)
|
|
return "";
|
|
else if (nStatus == 3)
|
|
return "";
|
|
}
|
|
else if (sTabName =="idx")
|
|
{
|
|
if (nStatus == 0)
|
|
return "whd_tab4.gif";
|
|
else if (nStatus == 1)
|
|
return "whd_tab3.gif";
|
|
else if (nStatus == 2)
|
|
return "";
|
|
else if (nStatus == 3)
|
|
return "";
|
|
}
|
|
else if (sTabName == "fts")
|
|
{
|
|
if (nStatus == 0)
|
|
return "whd_tab6.gif";
|
|
else if (nStatus == 1)
|
|
return "whd_tab5.gif";
|
|
else if (nStatus == 2)
|
|
return "";
|
|
else if (nStatus == 3)
|
|
return "";
|
|
}
|
|
else if (sTabName == "glo")
|
|
{
|
|
if (nStatus == 0)
|
|
return "whd_tab8.gif";
|
|
else if (nStatus == 1)
|
|
return "whd_tab7.gif";
|
|
else if (nStatus == 2)
|
|
return "";
|
|
else if (nStatus == 3)
|
|
return "";
|
|
}
|
|
return "";
|
|
}
|
|
|
|
function getMapImage(sTabName)
|
|
{
|
|
if (sTabName == "toc")
|
|
return "";
|
|
else if (sTabName =="idx")
|
|
return "";
|
|
else if (sTabName == "fts")
|
|
return "";
|
|
else if (sTabName == "glo")
|
|
return "";
|
|
return "";
|
|
}
|
|
|
|
if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)
|
|
{
|
|
window.onload = selectDefaultTab;
|
|
RegisterListener2(this, WH_MSG_SHOWTOC);
|
|
RegisterListener2(this, WH_MSG_SHOWIDX);
|
|
RegisterListener2(this, WH_MSG_SHOWFTS);
|
|
RegisterListener2(this, WH_MSG_SHOWGLO);
|
|
window.onunload = window_unload;
|
|
goTocFont=new whFont("Arial","9pt","#000000","normal","normal","none");
|
|
goIdxFont=new whFont("Arial","9pt","#000000","normal","normal","none");
|
|
goFtsFont=new whFont("Arial","9pt","#000000","normal","normal","none");
|
|
goGloFont=new whFont("Arial","9pt","#000000","normal","normal","none");
|
|
|
|
if (navigator.currentNavPen)
|
|
gsFirstPane = navigator.currentNavPen;
|
|
|
|
setBackgroundcolor("");
|
|
setBackground("whd_tab0.gif");
|
|
|
|
|
|
|
|
|
|
addPane("toc","whtdhtml.htm");
|
|
addPane("fts","whfdhtml.htm");
|
|
addPane("glo","whgdhtml.htm");
|
|
setShowPane("toc");
|
|
|
|
|
|
gnTabType = 0; // 0 button. // 1 text. // 2 image mapping.
|
|
TocWriteClassStyle();
|
|
var sHTML = "<body scroll=\"no\" bgcolor=\"#c0c0c0\" background=\"whd_tab0.gif\" style=\"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0\">";
|
|
if (gPane.length > 0)
|
|
{
|
|
if (gnTabType == 0 || gnTabType == 1)
|
|
{
|
|
sHTML += "<table width=\"100%\">";
|
|
sHTML += "<tr>";
|
|
sHTML += "<td>";
|
|
sHTML += "<nobr>";
|
|
sHTML += getTabsHTML();
|
|
sHTML += "</nobr></td></tr>";
|
|
sHTML += " <tr><td height=\"2\"></td></tr>";
|
|
sHTML += "</table>";
|
|
}
|
|
else if (gnTabType == 2)
|
|
{
|
|
sHTML += getImageMap();
|
|
sHTML +="<img name=\"tabSelection\" src=\"" + getMapImage(gPane[0]) + "\" x-maintain-ratio=\"true\" usemap=\"#tabSelectionMap\"";
|
|
if (gbIE)
|
|
sHTML +=" style=\"border: none; width:px; height:px; float: none;\"";
|
|
sHTML +=" width=\"\" height=\"\" border=\"0\">";
|
|
}
|
|
}
|
|
sHTML += "</body>";
|
|
document.write(sHTML);
|
|
}
|
|
else
|
|
document.location.reload();
|
|
|
|
if (window.gbNav6)
|
|
{
|
|
var oMsg=new whMessage(WH_MSG_RELOADNS6,this, 1,null);
|
|
SendMessage(oMsg);
|
|
}
|
|
//-->
|
|
</script>
|
|
</HTML> |