Imported Upstream version 2.11.00.021.0
This commit is contained in:
151
help/en/scripts/expand.js
Normal file
151
help/en/scripts/expand.js
Normal file
@@ -0,0 +1,151 @@
|
||||
// Copyright (c) 2002-2005 Quadralay Corporation. All rights reserved.
|
||||
//
|
||||
|
||||
function WebWorks_WriteArrow(ParamBaseURL,
|
||||
ParamID,
|
||||
bParamExpanded)
|
||||
{
|
||||
var VarIMGSrc;
|
||||
|
||||
if ((typeof(document.all) != "undefined") ||
|
||||
(typeof(document.getElementById) != "undefined"))
|
||||
{
|
||||
document.write(" <a href=\"javascript:WebWorks_ToggleDIV('" + ParamID + "');\">");
|
||||
|
||||
if (bParamExpanded)
|
||||
{
|
||||
VarIMGSrc = ParamBaseURL + "images/expanded.gif";
|
||||
}
|
||||
else
|
||||
{
|
||||
VarIMGSrc = ParamBaseURL + "images/collapse.gif";
|
||||
}
|
||||
|
||||
document.write("<img id=\"" + ParamID + "_arrow\" src=\"" + VarIMGSrc + "\" border=\"0\">");
|
||||
document.write("</a>");
|
||||
}
|
||||
}
|
||||
|
||||
function WebWorks_WriteDIVOpen(ParamID,
|
||||
bParamExpanded)
|
||||
{
|
||||
if ((typeof(document.all) != "undefined") ||
|
||||
(typeof(document.getElementById) != "undefined"))
|
||||
{
|
||||
if (bParamExpanded)
|
||||
{
|
||||
document.write("<div id=\"" + ParamID + "\" style=\"visibility: visible; display: block;\">");
|
||||
}
|
||||
else
|
||||
{
|
||||
document.write("<div id=\"" + ParamID + "\" style=\"visibility: hidden; display: none;\">");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function WebWorks_WriteDIVClose()
|
||||
{
|
||||
if ((typeof(document.all) != "undefined") ||
|
||||
(typeof(document.getElementById) != "undefined"))
|
||||
{
|
||||
document.write("</div>");
|
||||
}
|
||||
}
|
||||
|
||||
function WebWorks_ToggleDIV(ParamBaseURL,
|
||||
ParamID)
|
||||
{
|
||||
var VarImageID;
|
||||
var VarIMG;
|
||||
var VarDIV;
|
||||
|
||||
|
||||
VarImageID = ParamID + "_arrow";
|
||||
|
||||
if (typeof(document.all) != "undefined")
|
||||
{
|
||||
// Reference image
|
||||
//
|
||||
VarIMG = document.all[VarImageID];
|
||||
if ((typeof(VarIMG) != "undefined") &&
|
||||
(VarIMG != null))
|
||||
{
|
||||
// Nothing to do
|
||||
}
|
||||
else
|
||||
{
|
||||
VarIMG = null;
|
||||
}
|
||||
|
||||
// Reference DIV tag
|
||||
//
|
||||
VarDIV = document.all[ParamID];
|
||||
if ((typeof(VarDIV) != "undefined") &&
|
||||
(VarDIV != null))
|
||||
{
|
||||
if (VarDIV.style.display == "block")
|
||||
{
|
||||
if (VarIMG != null)
|
||||
{
|
||||
VarIMG.src = ParamBaseURL + "images/collapse.gif";
|
||||
}
|
||||
|
||||
VarDIV.style.visibility = "hidden";
|
||||
VarDIV.style.display = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
if (VarIMG != null)
|
||||
{
|
||||
VarIMG.src = ParamBaseURL + "images/expanded.gif";
|
||||
}
|
||||
|
||||
VarDIV.style.visibility = "visible";
|
||||
VarDIV.style.display = "block";
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (typeof(document.getElementById) != "undefined")
|
||||
{
|
||||
// Reference image
|
||||
//
|
||||
VarIMG = document[VarImageID];
|
||||
if ((typeof(VarIMG) != "undefined") &&
|
||||
(VarIMG != null))
|
||||
{
|
||||
// Nothing to do
|
||||
}
|
||||
else
|
||||
{
|
||||
VarIMG = null;
|
||||
}
|
||||
|
||||
// Reference DIV tag
|
||||
//
|
||||
VarDIV = document.getElementById(ParamID);
|
||||
if ((typeof(VarDIV) != "undefined") &&
|
||||
(VarDIV != null))
|
||||
{
|
||||
if (VarDIV.style.display == "block")
|
||||
{
|
||||
if (VarIMG != null)
|
||||
{
|
||||
VarIMG.src = ParamBaseURL + "images/collapse.gif";
|
||||
}
|
||||
|
||||
VarDIV.style.visibility = "hidden";
|
||||
VarDIV.style.display = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
if (VarIMG != null)
|
||||
{
|
||||
VarIMG.src = ParamBaseURL + "images/expanded.gif";
|
||||
}
|
||||
|
||||
VarDIV.style.visibility = "visible";
|
||||
VarDIV.style.display = "block";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
25
help/en/scripts/seealso.js
Normal file
25
help/en/scripts/seealso.js
Normal file
@@ -0,0 +1,25 @@
|
||||
// Copyright (c) 2002-2003 Quadralay Corporation. All rights reserved.
|
||||
//
|
||||
|
||||
function WebWorksSeeAlso_Object()
|
||||
{
|
||||
this.mbClickedLink = false;
|
||||
|
||||
this.fOnClickButton = WebWorksSeeAlso_OnClickButton;
|
||||
this.fOnClickLink = WebWorksSeeAlso_OnClickLink;
|
||||
}
|
||||
|
||||
function WebWorksSeeAlso_OnClickButton(ParamURL)
|
||||
{
|
||||
if ( ! this.mbClickedLink)
|
||||
{
|
||||
document.location = ParamURL;
|
||||
}
|
||||
|
||||
this.mbClickedLink = false;
|
||||
}
|
||||
|
||||
function WebWorksSeeAlso_OnClickLink()
|
||||
{
|
||||
this.mbClickedLink = true;
|
||||
}
|
||||
Reference in New Issue
Block a user