请大神们帮帮忙,怎样去掉或替换这个ASP页面的不能显示的动画版块!谢谢啦
这个asp【xiandai.asp】页面,其中中间的动画板块显示不了,在菜单栏上面,我想把它给去掉或者用相同大小的图片代替,不知道在哪里改?恳请各位大神帮帮忙,在此谢过!!!下面是代码
font-weight: bold;
text-decoration:none;
}
.STYLE3 {
font-family: "SimSun";
font-size: 14px;
color: #000000;
text-decoration:none
}
.STYLE3 a{
font-family: "SimSun";
font-size: 14px;
color: #000000;
text-decoration:none
}
.STYLE4 {
font-family: "SimSun";
font-size: 14px;
color: #FFFFFF;
font-weight: bold;
}
.STYLE5 {
font-family: "SimSun";
color: #860104;
text-decoration:none;
}
.STYLE5 a{
font-family: "SimSun";
color: #860104;
text-decoration:none;
}
.STYLE5 a:hover{
font-family: "SimSun";
color: #000000;
text-decoration:none;
}
-->
</style>
</head>
<body>
<table width="960" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"><table width="960" cellspacing="0" cellpadding="0">
<!--#include file="top.asp"-->
<tr>
<td height="10"></td>
</tr>
<tr>
<td valign="top">
<table width="960" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top"><table width="714" cellspacing="0" cellpadding="0">
<tr>
<td height="42" background="images/t1-1.png" style="background-repeat:no-repeat"><table width="714" height="31" cellpadding="0" cellspacing="0">
<tr>
<td width="239" align="center"><span class="STYLE2">
现代真理</span></td>
<td width="473" align="center" class="STYLE2">现在的位置》》现代真理 》
<%if id=4 or id=5 then%>
<%=smallclassname%>
<%else%>
<%=title%>
<%end if%>
</td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" valign="top" bgcolor="#ffffff" style="border-left:#d9bb78 1px solid; border-right:#d9bb78 1px solid; padding-top:10px;">
<!--#include file="show.asp"-->
</td>
</tr>
</table></td>
<td align="right" valign="top">
<!--#include file="right3.asp"-->
</td>
</tr>
</table></td>
</tr>
<!--#include file="bottom.asp"-->
</table></td>
</tr>
</table>
</body>
</html>
<%
'显示二级类别下的所有产品
'id是栏目id
'smallproclassid是产品二级类别id
'bigclassname是产品一级类别名
'smallclassname是产品二级类别名
sub showproduct2(id,bigproclassid,smallproclassid,bigclassname,smallclassname)%>
<table width="100%" height="22" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="9" height="22" align="left" valign="top"> </td>
<td align="center" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top">
<table width="100%" cellspacing="0" cellpadding="0">
<%set rs=server.CreateObject("adodb.recordset")
rs.open "select * from product where bigclassname='"+bigclassname+"' and SmallClassName='"+smallclassname+"'",conn,1,1
do while not rs.eof%>
<tr>
<td>
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="left" width="100%" class="STYLE2" height="50">
<a href="xiandai.asp?pid=<%=rs("articleid")%>&id=5"><span style="font-size:24px; color:#F00;" ><%=gotTopic(rs("title"),cint(30))%><br/></span></a>
<span style="font-size:12px; font-weight:normal; color:#666666;">点击数:<%=rs("hits")%> 发布时间:<%=rs("UpdateTime")%></span>
</td>
</tr>
<tr>
<td width="100%" align="left" class="STYLE2" >
<span style="font-size:12px; font-weight:normal;"><%=rs("sim-content")%></span>
</td>
</tr>
<tr>
<td align="right" style="padding-right:10px;">
<a href="xiandai.asp?pid=<%=rs("articleid")%>&id=5" style="color:#FF0000;">>>阅读全文</a>
</td>
</tr>
</table>
</td>
</tr>
<%rs.movenext
loop
rs.close%>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%end sub
'显示产品详细信息
'id是栏目id
'pid是产品id
sub showproduct(id,pid)
set rs_news=server.createobject("adodb.recordset")
sqltext4="select * from product where articleid ="+pid+" "
rs_news.open sqltext4,conn,1,1
if rs_news.eof or rs_news.bof then
response.Write("目前没有所需的产品!")
end if
do while not rs_news.eof%>
<table width="95%" border="0" cellpadding="0" cellspacing="0">
<tr height="10">
<td></td>
</tr>
<tr>
<td width="95%" align="center" class="STYLE2" height="50">
<span style="font-size:24px; color:#F00" >
<%=rs_news("title")%><br/>
</span>
<span style="font-size:12px; font-weight:normal; color:#666666;">点击数:<%=rs_news("hits")%> 发布时间:<%=rs_news("UpdateTime")%></span>
</td>
</tr>
<tr height="5">
<td>
</td>
</tr>
<tr>
<td align="left" valign="top" width="90%"><%=rs_news("content")%></td>
</tr>
</table>
<%rs_news.movenext
loop
rs_news.close%>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle"><div align="center" class="green12"><a href="<%=Request.ServerVariables("HTTP_REFERER")%>" style="font-size:15px; color:#FE1B4E;">[返回]</a></div></td>
</tr>
</table>
<%end sub%>
|