栏目模板操作

添加、修改、删除栏目模板与新闻模板的操作类似,请参考新闻模板进行操作!
 
以下是一个“栏目模板”的源代码

<HTML><title>测试模板</title>
<HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META http-equiv=目录类型 content="文本/html; 字符集=gb2312"><LINK href="../../images/site.css" rel=stylesheet>
<STYLE>.menulines {
BORDER-RIGHT: #cde4f0 1px solid; BORDER-TOP: #cde4f0 1px solid; BORDER-LEFT: #cde4f0 1px solid; BORDER-BOTTOM: #cde4f0 1px solid }
.menulines A {
TEXT-DECORATION: none
}
</STYLE>

<SCRIPT language=JavaScript1.2>

function borderize(what,color){
what.style.borderColor=color
}

function borderize_on(e){
if (document.all)
source3=event.srcElement
else if (document.getElementById)
source3=e.target
if (source3.className=="menulines"){
borderize(source3,"#4397c5")
}
else{
while(source3.tagName!="TABLE"){
source3=document.getElementById? source3.parentNode : source3.parentElement
if (source3.className=="menulines")
borderize(source3,"#4397c5")
}
}
}

function borderize_off(e){
if (document.all)
source4=event.srcElement
else if (document.getElementById)
source4=e.target
if (source4.className=="menulines")
borderize(source4,"#cde4f0")
else{
while(source4.tagName!="TABLE"){
source4=document.getElementById? source4.parentNode : source4.parentElement
if (source4.className=="menulines")
borderize(source4,"#cde4f0")
}
}
}

</SCRIPT>

<META content="MSHTML 5.50.4916.2300" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<TABLE cellSpacing=0 cellPadding=0 width=719 align=center border=0>
<TBODY>
<tr valign="center" align="center" >
<td height="21" bgcolor="#4397c5" >
<table width="100%" border="0" cellspacing="0" cellpadding="0" onMouseOver="borderize_on(event)" onMouseOut="borderize_off(event)">
<tr>

<td style="border-Top: 1px solid #cde4f0; border-right: 1px solid #cde4f0" height="4" colspan="8" bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="4%"><a href="http://www.xunt.net"><img src="../../images/logo.gif" width="88" height="31" border="0"></a></td>
<td width="96%" valign="middle" align="center"><font color="#FF0000"><marquee>此新闻使用“渐飞新闻更新系统”添加</marquee></font></td>
</tr>
</table>
</td>
</tr>
<tr >
<td style="border-Top: 1px solid #cde4f0; border-bottom: 1px solid #cde4f0" height="23" width="302" align="right" bgcolor="#ecf5f9"></td>
<td class="menulines" onMouseOver="this.style.backgroundColor='#e6F3F9'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='';" height="22" width="85" align="center" bgcolor="#ecf5f9"><a href="http://exploit.cnhope.org/zfol/index.htm" target="_blank"><font size="3">首页</font></a></td>
<td class="menulines" onMouseOver="this.style.backgroundColor='#e6F3F9'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='';" height="22" width="85" align="center" bgcolor="#ecf5f9"><a href="http://exploit.cnhope.org/zfol/about.htm" target="_blank">
<font size="3">关于我们</font></a> </td>
<td class="menulines" onMouseOver="this.style.backgroundColor='#e6F3F9'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='';" height="23" width="85" align="center" bgcolor="#ecf5f9"><a href="http://exploit.cnhope.org/zfol/news/index.htm" target="_blank"><font size="3">演示中心</font></a></td>
<td class="menulines" onMouseOver="this.style.backgroundColor='#e6F3F9'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='';" height="23" width="85" align="center" bgcolor="#ecf5f9"><a href="http://exploit.cnhope.org/zfol/products.htm" target="_blank"><font size="3">产品介绍</font></a></td>
<td class="menulines" onMouseOver="this.style.backgroundColor='#e6F3F9'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='';" height="23" width="85" align="center" bgcolor="#ecf5f9"><a href="http://exploit.cnhope.org/zfol/support.htm" target="_blank"><font size="3">技术支持</font></a></td>
<td class="menulines" onMouseOver="this.style.backgroundColor='#e6F3F9'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='';" height="23" width="85" align="center" bgcolor="#ecf5f9"><a href="http://exploit.cnhope.org/zfol/clientele.htm" target="_blank"><font size="3">成功案例</font></a></td>
<td class="menulines" onMouseOver="this.style.backgroundColor='#e6F3F9'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='';" height="23" width="85" align="center" bgcolor="#ecf5f9"><a href="http://exploit.cnhope.org/zfol/bbs" target="_blank"><font size="3">联系我们</font></a></td>
</tr>
</table>
</td>
</tr>
<TR vAlign=top>
<TD height=100>
<TABLE cellSpacing=1 cellPadding=0 width="100%" border=0 bgcolor="#4397c5">
<TBODY>
<TR>
<TD vAlign=top WIDTH=77% style="WORD-BREAK: break-all"
height=238 rowSpan=6 bgcolor="#FFFFFF">[newsJS]
</td></tr>
</table>
</div>
</TD>
<TD background="../../images/bg03.gif" vAlign=top align=right rowSpan=6 width="23%">
<table cellspacing=0 cellpadding=0 width="100%" border=0>
<tbody>
<tr>
<td
style="BORDER-TOP: #4397c5 1px solid; BORDER-BOTTOM: #4397c5 1px solid"
bgcolor=#ffffff><b><font size=2>资料搜索</font></b> </td>
</tr>
<tr valign=top align="center">
<td height=100% ><br>[newssearch]
</td>
</tr>
<tr>
<td
style="BORDER-TOP: #4397c5 1px solid; BORDER-BOTTOM: #4397c5 1px solid"
bgcolor=#ffffff><b><font size=2>推荐新闻</font></b> </td>
</tr>
<tr valign=top>
<td height=100% >[recommendnews]
</td>
</tr>
<tr>
<td
style="BORDER-TOP: #4397c5 1px solid; BORDER-BOTTOM: #4397c5 1px solid"
bgcolor=#ffffff><b><font size=2>热点新闻</font></b> </td>
</tr>
<tr valign=top>
<td height=100% >[hotnews]
</td>
</tr>
</tbody>
</table>
</TD>
</TR>
<TR></TR>
<TR></TR>
<TR></TR>
<TR></TR>
<TR></TR>
</TBODY>
</TABLE>
</TD>
</TR>
<TR align="center">
<TD height="48" style="border-bottom: 1px solid #4397c5; border-left: 1px solid #4397c5; border-right: 1px solid #4397c5">
<p>Copyright? 2002-2003 <a href="http://www.xunt.net">渐飞工作室</a> All rights reserved.</p>
<p>建议使用IE4.0以上版本浏览 </p>
</TD>
</TR>
</TBODY>
</TABLE>
</BODY></HTML>


版权所有(C) 2000-2002 渐飞在线, xunt.net 保留所有权利