急,为什么代码一样,显示的却不一样呢?
<!--#include file="Inc/SysProduct.asp" --><!--#include file="inc/ubbcode.asp"-->
<script language="JavaScript">
<!--
var flag=false;
function DrawImage(ImgD){
var image=new Image();
image.src=ImgD.src;
if(image.width>0 && image.height>0){
flag=true;
if(image.width/image.height>= 153/153){
if(image.width>153){
ImgD.width=153;
ImgD.height=(image.height*153)/image.width;
}else{
ImgD.width=image.width;
ImgD.height=image.height;
}
ImgD.alt="点击查看详细信息...";
}
else{
if(image.height>153){
ImgD.height=153;
ImgD.width=(image.width*153)/image.height;
}else{
ImgD.width=image.width;
ImgD.height=image.height;
}
ImgD.alt="点击查看详细信息...";
}
}
}
//-->
</script>
<%
function cutstr(tempstr,tempwid)
if len(tempstr)>tempwid then
cutstr=left(tempstr,tempwid)&"..."
else
cutstr=tempstr
end if
end function%>
<link href="Images/common.css" rel="stylesheet" type="text/css">
<table width="100%" height="43%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="582" valign="top" Class=border><table width="100%" border="0" cellspacing="0" cellpadding="0">
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="5" >
<tr>
<td valign="top" ><span id="tb_B101">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td ><script language="javascript" src="NewsType.asp?BigClass=企业新闻&n=7"></script></td>
</tr>
</table>
</span> <span id="tb_B102" style="display:none;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td ><script language="javascript" src="NewsType.asp?BigClass=业内资讯&n=7"></script></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
我改的程序,原来的是这样的代码,可以显示新闻。
我重新建立了一个页,路径都对,为啥那个新页什么也不显示?
急