📄 zkfunction.mht
字号:
href=3D"http://192.168.51.10/pages/diffpages.action?pageId=3D17268751&=
;originalId=3D17268805">=E6=9F=A5=E7=9C=8B=E5=8F=98=E6=9B=B4</A>)=20
<STYLE type=3Dtext/css>DIV.auto_complete {
BACKGROUND: #fff; WIDTH: 350px
}
DIV.auto_complete UL {
BORDER-RIGHT: #888 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: #888 1px =
solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; BORDER-LEFT: =
#888 1px solid; WIDTH: 100%; PADDING-TOP: 0px; BORDER-BOTTOM: #888 1px =
solid; LIST-STYLE-TYPE: none
}
DIV.auto_complete UL LI {
PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; MARGIN: =
0px; PADDING-TOP: 3px
}
DIV.auto_complete UL LI.selected {
BACKGROUND-COLOR: #ffb
}
DIV.auto_complete UL STRONG.highlight {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: =
0px; COLOR: #800; PADDING-TOP: 0px
}
</STYLE>
<!-- Delay the loading of the external javascript file needed for labels =
(as it takes too long to load and visibly holds loading of the page =
body) --><!-- To do this without javascript errors over undefined =
functions, we need to declare stubs here (that are overrided later by =
the proper implementations) -->
<SCRIPT language=3DJavaScript type=3Dtext/javascript>=0A=
function doAddLabel(hideTextfieldAfterAddParam)=0A=
{=0A=
// stub=0A=
}=0A=
=0A=
function onAddLabel()=0A=
{=0A=
// stub=0A=
}=0A=
=0A=
function showLabelsInput()=0A=
{=0A=
// stub=0A=
}=0A=
</SCRIPT>
<!-- This is a hack to work around an apparent SiteMesh bug - =
http://jira.opensymphony.com/browse/SIM-198 --><SPAN=20
class=3Derror><SPAN class=3DerrorMessage=20
id=3DerrorSpan></SPAN></SPAN>
<FORM=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 0px; =
PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"=20
name=3DaddLabelForm onsubmit=3D"doAddLabel(false); =
return false;"=20
action=3D"">
<DIV style=3D"FLOAT: =
left">=E6=A0=87=E7=AD=BE: </DIV>
<DIV id=3DlabelsInfo style=3D"FLOAT: left; WIDTH: =
90%"><SPAN=20
id=3DlabelsList>(=E6=B2=A1=E6=9C=89) </SPAN><SPAN=20
class=3D"inline-control-link fontSizeTiny" =
id=3DeditLabelsLink=20
style=3D"DISPLAY: none"><A=20
onclick=3D"onAddLabel(); showLabelsInput(); return =
false;"=20
=
href=3D"http://192.168.51.10/pages/">=E7=BC=96=E8=BE=91</A> =
</SPAN></DIV><BR=20
clear=3Dall><!-- Do not remove this line-break. You =
will make Safari cry. -->
<DIV id=3DlabelInputSpan style=3D"CLEAR: both; =
DISPLAY: none">
<DIV=20
style=3D"BORDER-RIGHT: #cccccc 1px solid; =
PADDING-RIGHT: 8px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 8px; =
PADDING-BOTTOM: 8px; BORDER-LEFT: #cccccc 1px solid; PADDING-TOP: 8px; =
BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #f0f0f0; align: =
center">
<DIV id=3DlabelOperationErrorContainer=20
style=3D"DISPLAY: none"><SPAN class=3Derror><SPAN=20
class=3DerrorMessage=20
id=3DlabelOperationErrorMessage></SPAN></SPAN></DIV>
<TABLE width=3D"100%">
<TBODY>
<TR>
<TD>
<DIV class=3Dformtitle=20
style=3D"FONT-SIZE: 13px; PADDING-BOTTOM: =
3px">=E6=B7=BB=E5=8A=A0=E6=A0=87=E7=AD=BE</DIV></TD>
<TD align=3Dright>
<DIV id=3DwaitImageAndStatus=20
style=3D"DISPLAY: none; HEIGHT: 16px"><IMG=20
alt=3D"Wait Image"=20
=
src=3D"http://192.168.51.10/images/icons/wait.gif"=20
align=3DabsMiddle border=3D0> <SPAN =
class=3Dsmalltext=20
id=3DlabelOperationStatus=20
style=3D"VERTICAL-ALIGN: =
middle"></SPAN></DIV></TD></TR>
<TR>
<TD =
width=3D"50%">=E8=BE=93=E5=85=A5=E6=A0=87=E7=AD=BE=E5=8A=A0=E5=85=A5=E5=88=
=B0=E6=9C=AC=E9=A1=B5=E9=9D=A2=E4=B8=AD<BR><INPUT=20
class=3DmonospaceInput id=3DlabelName size=3D40=20
name=3DlabelsString autocomplete=3D"off"> <INPUT =
onclick=3D"doAddLabel(false); return false;" type=3Dsubmit =
value=3D=E6=B7=BB=E5=8A=A0><INPUT onclick=3D"doAddLabel(true); return =
false;" type=3Dbutton value=3D=E5=AE=8C=E6=88=90>=20
<DIV class=3Dauto_complete=20
id=3DlabelsAutocompleteList></DIV>
<DIV =
class=3Dsmalltext><EM>=E6=8F=90=E7=A4=BA=EF=BC=9A</EM> =
=E6=89=BE=E6=A0=87=E7=AD=BE=EF=BC=9F=E5=88=9A=E5=88=9A=E5=BC=80=E5=A7=8B=E6=
=8B=BC=E5=86=99=E3=80=82 </DIV></TD>
<TD vAlign=3Dtop width=3D"50%">
<DIV=20
=
id=3DsuggestedLabelsSpan></DIV></TD></TR></TBODY></TABLE></DIV></DIV></FO=
RM>
<SCRIPT type=3Dtext/javascript>=0A=
// if there is javascript support, enable the [Edit] link that =
enables AJAX label adding/removing functionality=0A=
if (document.getElementById('editLabelsLink'))=0A=
{=0A=
document.getElementById('editLabelsLink').style.display =3D =
'inline';=0A=
}=0A=
</SCRIPT>
</SPAN></TD>
<TD vAlign=3Dtop noWrap align=3Dright>
<DIV=20
style=3D"BORDER-RIGHT: #cccccc 1px solid; =
PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 5px; =
FLOAT: right; PADDING-BOTTOM: 5px; MARGIN: 0px; BORDER-LEFT: #cccccc 1px =
solid; PADDING-TOP: 5px; BORDER-BOTTOM: #cccccc 1px solid">
<CENTER><A id=3DpageFavourite=20
=
href=3D"http://192.168.51.10/labels/addfavourite.action?entityId=3D172687=
51"><IMG=20
=
title=3D=E5=B0=86=E9=A1=B5=E9=9D=A2=E6=B7=BB=E5=8A=A0=E5=88=B0=E6=94=B6=E8=
=97=8F=E5=88=97=E8=A1=A8=E4=B8=AD height=3D16 =
alt=3D=E5=B0=86=E9=A1=B5=E9=9D=A2=E6=B7=BB=E5=8A=A0=E5=88=B0=E6=94=B6=E8=97=
=8F=E5=88=97=E8=A1=A8=E4=B8=AD=20
=
src=3D"http://192.168.51.10/images/icons/star_grey.gif" width=3D16=20
align=3DabsMiddle border=3D0></A> <A id=3DpageWatch=20
=
href=3D"http://192.168.51.10/pages/addpagenotification.action?pageId=3D17=
268751"><IMG=20
=
title=3D=E7=9B=91=E8=A7=86=E8=BF=99=E4=B8=AA=E9=A1=B5=E9=9D=A2 =
height=3D16 alt=3D=E7=9B=91=E8=A7=86=E8=BF=99=E4=B8=AA=E9=A1=B5=E9=9D=A2 =
src=3D"http://192.168.51.10/images/icons/watch_16.gif" =
width=3D16=20
align=3DabsMiddle border=3D0></A>=20
</CENTER></DIV></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3D2 cellPadding=3D5>
<TBODY>
<TR>
<TD id=3Dtreenavtd style=3D"DISPLAY: none" vAlign=3Dtop =
align=3Dleft=20
width=3D"20%" bgColor=3D#eeecec>
=
<SCRIPT>navTree.toggleNavTree(navTree.getCookie("navTree.display"));</SCR=
IPT>
<DIV class=3Dtabletitle>=E5=AF=BC=E8=88=AA</DIV>
<DIV class=3Dspacetree>
<SCRIPT language=3DJavaScript=20
=
src=3D"http://192.168.51.10/includes/js/ajax.js"></SCRIPT>
<SCRIPT language=3DJavaScript>
//<!--
function togglePlusMinus(e)
{
if (e.src.indexOf("_plus.gif") !=3D -1)
e.src =3D "/images/icons/tree_minus.gif";
else
e.src =3D "/images/icons/tree_plus.gif";
}
function toggleChildren(id)
{
var childrenDiv =3D document.getElementById("children" + id);
if (childrenDiv.innerHTML.indexOf("list-style-type") !=3D -1 || =
childrenDiv.innerHTML.indexOf("LIST-STYLE-TYPE") !=3D -1) // internet =
explorer uppercases HTML attributes
{
if ((typeof(Effect)=3D=3D"undefined") || =
(typeof(Effect.BlindUp)=3D=3D"undefined") || =
(typeof(Effect.BlindDown)=3D=3D"undefined")){
// simply toggle the visibility of the children div now =
that we've already fetched it
if (childrenDiv.style.display =3D=3D 'block' || =
childrenDiv.style.display =3D=3D '')
childrenDiv.style.display =3D 'none';
else
childrenDiv.style.display =3D 'block';
} else {
// if scriptaculous is available then use it
var plusMinusImage =3D =
document.getElementById("plusminus" + id);
if (plusMinusImage.src.indexOf("_plus.gif")>-1) {
new Effect.BlindUp(childrenDiv, {duration: 0.3});
} else {
new Effect.BlindDown(childrenDiv, {duration: 0.3});
}
}
}
else
{
loadChildren([id]);
}
}
var treeRequests=3D{};// object to hold tree request strings in
var targetPages=3D{};// object to hold target page ids in
function loadChildren(ancestors)
{
var id =3D ancestors.pop();
var childrenDiv =3D document.getElementById("children" + id);
if (childrenDiv=3D=3Dnull) {
//alert("Could not find children"+id);
return;
}
// Set childrenDiv to indicate loading while xml http fetches =
the actual children list
childrenDiv.innerHTML =3D "<ul>Loading ...</ul>";
// split the id into page & tree id
var ids =3D id.split("-");
var pageId=3Dids[0];
var treeId=3Dids[1];
var xmlhttp =3D getXmlHttp();
xmlhttp.open("GET", treeRequests[treeId] + "&pageId=3D" + pageId =
+ "&treeId=3D" + treeId ,true);
xmlhttp.onreadystatechange=3Dfunction()
{
if (xmlhttp.readyState=3D=3D4) {
var childrenDiv =3D document.getElementById("children" + =
id);
childrenDiv.innerHTML =3D xmlhttp.responseText;
var plusMinusImage =3D =
document.getElementById("plusminus" + id);
if (plusMinusImage !=3D null) {
plusMinusImage.src =3D =
"/images/icons/tree_minus.gif";
}
if (ancestors.length > 0) {
loadChildren(ancestors);
} else {
try{
var targetDiv =3D =
document.getElementById("children" + targetPages[treeId] + "-" + =
treeId);
targetDiv =3D =
targetDiv.previousSibling.previousSibling;
targetDiv.style.fontWeight=3D'bold';
}catch(e){}
}
}
}
xmlhttp.send(null)
}
//-->
</SCRIPT>
<STYLE>.li {
=09
}
</STYLE>
<UL=20
style=3D"PADDING-LEFT: 0px; MARGIN-LEFT: 0px; =
LIST-STYLE-TYPE: none">
<DIV id=3Dchildren3539206-1></DIV></UL>
<SCRIPT type=3Dtext/JavaScript>
=
treeRequests["1"]=3D"/plugins/pagetree/naturalchildren.action?decorator=3D=
none&excerpt=3Dfalse&sort=3Dnatural&reverse=3Dfalse";
targetPages["1"]=3D"17268751";
var ancestors1 =3D [];
ancestors1.push("17268751-1");
ancestors1.push("13339449-1");
ancestors1.push("13339448-1");
ancestors1.push("13339422-1");
ancestors1.push("3539206-1");
ancestors1.push("3539206-1");
loadChildren(ancestors1);
</SCRIPT>
<DIV class=3Dtabletitle style=3D"WIDTH: 90%">
<DIV class=3Dtabletitleops style=3D"FLOAT: right"=20
valign=3D"bottom"> <A=20
=
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -