📄 showchildclassmenu.html
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>创力CMS 4.0 标签-公共标签(2)</title>
<link href="label.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
a {color:#fff;text-decoration: underline;}
a:hover {color:#fff; text-decoration: underline;}
-->
</style>
<script language="javascript">
//以下为显示子栏目标签 ShowChildClass(sChannelID,sClassID,sCol,ShowType
function showchildclassmenu() {
var strJS,sChannelID,sClassID,sCol,ShowType;
strJS= '{$showChildClass(';
strJS+= document.showchildclass.sChannelID.value;
strJS+=","+document.showchildclass.sClassID.value;
strJS+=","+document.showchildclass.sCol.value;
strJS+=","+document.showchildclass.ShowType.value;
strJS+=')}';
document.showchildclass.outlabel.value=strJS;
}
function CopyCode(textid) {
var body = document.getElementById(textid);
body.select();
window.clipboardData.setData('Text',body.value);
}
</script>
</head>
<body>
<form name="showchildclass">
<table width='600' align='center' cellpadding='0' cellspacing='1' class='border'>
<tr class='title'>
<td height='22' colspan='2' align='center'><strong>显示某栏目下子栏目标签配置</strong></td>
</tr>
<tr class='tdbg'>
<td width="0" height='21' align='right'><strong>频道ID:</strong></td>
<td height='21' ><input name='sChannelID' type='text' value='channelid' size="14">
当前频道channelid,其他为数字</td>
</tr>
<tr class='tdbg'>
<td width="0" height='21' align='right'><strong>栏目ID:</strong></td>
<td height='21' ><input name='sClassID' type='text' value='classid' size="14"> 当前栏目classid,其他为数字
</td>
</tr>
<tr class='tdbg'>
<td height='25' align='right'><strong>显示几个子栏目:</strong></td>
<td height='25' ><input name='sCol' type='text' value='6' size="8"> 设为0时表示全部 </td></tr>
<tr class='tdbg'>
<td height='25' align='right'><strong>输出方式:</strong></td>
<td height='25' ><input name='ShowType' type='text' value='1' size="8" disabled> (创力4.0以上版本此参数无作用) </td></tr>
<tr class="tdbg" >
<td colspan="4" align="center">
<input TYPE="button" value=" 输出到下方 " onClick="showchildclassmenu()">  <input type="button" name="copy" value="复制代码" onclick="CopyCode('outlabel')"> <input TYPE="button" value=" 取消 " onClick="window.close()"></td></tr>
<tr class="tdbg" >
<td colspan="2" align="center">
<input name="outlabel" type="text" size='80' value='点输出显示你配置的标签!'></td></tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -