■■■■■DW模板更新出错,奇怪,请帮忙,在线等等等■■■■■

moffatt 2004-07-28 04:32:02
DW模板代码如下:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<HTML><HEAD>
<!-- TemplateBeginEditable name="doctitle" -->
<TITLE>Kang De Wrought Iron Art</TITLE>
<!-- TemplateEndEditable -->
<META
content=""
name=keywords>
<META
content=""
name=description>
<META http-equiv=Content-Type content="text/html; charset=gb2312">

<LINK href="../images/main/css.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR><style type="text/css">
<!--
body {
background-image: url(../images/main/background.gif);
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
...全文
184 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
moffatt 2004-07-28
  • 打赏
  • 举报
回复
没人看得懂吗?

<!-- InstanceBeginEditable name="doctitle" -->

DW说这里错误了。
ycted 2004-07-28
  • 打赏
  • 举报
回复
没人来看???up..up..楼主要沉了...
ycted 2004-07-28
  • 打赏
  • 举报
回复
哇...长啊...
moffatt 2004-07-28
  • 打赏
  • 举报
回复
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
需要更新的页面代码提示:
行72列47存在一个错误:嵌套的可编辑区域。即:
<!-- InstanceBeginEditable name="doctitle" -->

页面代码如下:
<!--#include file="config.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title></title>
<SCRIPT language=javascript src="images/pop.js"></SCRIPT>
<style type="text/css">
<!--
td { font-family: "宋体", "serif"; font-size: 9pt; font-weight: normal}
a:link { text-decoration: none}
a:visited { text-decoration: none; font-weight: normal}
body { font-family: "宋体", "serif"; font-size: 9pt}
tr { font-family: "宋体", "serif"; font-size: 9pt}
.unnamed1 { font-size: 9pt; font-weight: bold}
.p9 { font-family: "宋体"; font-size: 9pt}
.unnamed2 { font-size: 11pt}
-->
</style>
<script language="VBscript">
<!--
Sub checkdata()
If Trim(adam.title.value)=empty Then
Window.Alert"Title?"
Exit Sub
End If
If Trim(adam.name.value)=empty Then
Window.Alert"Your Name?"
Exit Sub
End If
If Trim(adam.address.value)=empty Then
Window.Alert"Address?"
Exit Sub
End If
If Len(Trim(adam.phone.value))<11 Then
Window.Alert"联系电话必须填写区号!"
Exit Sub
End If
If Not IsNumeric(adam.phone.value) Then
Window.Alert"Numberal!"
Exit Sub
End If
If Trim(adam.email.value)=empty Then
Window.Alert"Forget E-mail?"
Exit Sub
End If
If Trim(adam.email.value)<>"" Then
IsEmail = True
sEmail = Trim(adam.email.value)
If instr(1,sEmail,"@")<=1 Or instr(1,sEmail,".")<1 then
IsEmail = False
Elseif instr(1,sEmail,".") = instr(1,sEmail,"@")+1 Then
IsEmail = False
ElseIf Mid(sEmail,(InStr(1,sEmail,".")+1)) = "" Then
IsEmail = False
End if
If Not IsEmail Then
Window.Alert"sorry!please reset your e-mail,thanks!"
Exit Sub
Else
CheckEmail = sEmail
End If
End If
adam.submit
End Sub
-->
</script>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<HTML><!-- InstanceBegin template="/Templates/kangde2.dwt" codeOutsideHTMLIsLocked="false" --><HEAD>
<!-- InstanceBeginEditable name="doctitle" -->
<TITLE>Kang De Wrought Iron Art</TITLE>
<!-- InstanceEndEditable -->
<META
content=""
name=keywords>
<META
content=""
name=description>
<META http-equiv=Content-Type content="text/html; charset=gb2312">

<LINK href="../images/main/css.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR><style type="text/css">
<!--
body {
background-image: url(../images/main/background.gif);
}
-->
</style>
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
需要更新的页面代码提示:
行72列47存在一个错误:嵌套的可编辑区域。即:
<!-- InstanceBeginEditable name="doctitle" -->
moffatt 2004-07-28
  • 打赏
  • 举报
回复
</TD>
</TR>
<TR>
<TD><IMG height=25 src="../images/main/bot2_long22.gif" width=690><BR> </TD></TD></TR></TBODY></TABLE>
<table width="708" border=0 cellpadding=0 cellspacing=0>
<tbody>
<tr>
<td width="8" rowspan="4" valign=top><img src="../images/main/pixel.gif" width="8" height="8"></td>
<td width="690" valign=top bgcolor="#FFFFFF"><img src="../images/main/top3_long_home.gif" width="690" height="9"></td>
<td width="10" colspan=6 rowspan="3" valign=top> </td>
</tr>
<tr>
<td valign=top bgcolor="#FFFFFF"><!-- TemplateBeginEditable name="EditRegion4" --><img src="../images/main/longtitle1.gif" width="690" height="27"><!-- TemplateEndEditable --></td>
</tr>
<tr>
<td valign=top bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" colspan="2" bgcolor="#FFFFFF" class="tableshdall2"><div align="center">
<TABLE width="98%" height="0%" border=0 align="center" cellPadding=2 cellSpacing=0>
<TBODY>
<!-- TemplateBeginEditable name="EditRegion3" -->
<tr>
<td width="0%" height="100%"> </td>
<td width="100%" valign=top class=admincopy><p> </p> </td>
</tr>
<!-- TemplateEndEditable --> </TABLE>
</div></td>
</tr>
</table> </td>
</tr>
<tr>
<td valign=top><img src="../images/main/bot1_long.gif" width="690" height="17"></td>
<td colspan=6 valign=top> </td>
</tr>
</tbody>
</table>
<!-- #BeginLibraryItem "/Library/1.lbi" -->
<TABLE cellSpacing=0 cellPadding=0 width=690 border=0>
<TBODY>
<TR>
<TD vAlign=top width=340 colSpan=3><IMG height=20
src="../images/main/top5.gif" width=340></TD>
<TD width=10 rowSpan=4><IMG height=1 src="../images/main/pixel.gif"
width=10></TD>
<TD vAlign=top width=340 colSpan=3><IMG height=20
src="../images/main/top2.gif" width=340></TD>
</TR>
<TR>
<TD class=bktables width=10 rowSpan=2><IMG height=1
src="../images/main/pixel.gif" width=10></TD>
<TD class=bktables vAlign=top width=320><IMG height=27
src="../images/main/unlimitedaccess.gif" width=320></TD>
<TD class=bktables width=10 rowSpan=2><IMG height=1
src="../images/main/pixel.gif" width=10></TD>
<TD class=bktables width=10 rowSpan=2><IMG height=8
src="../images/main/pixel.gif" width=10></TD>
<TD class=bktables vAlign=top width=320><IMG height=27
src="../images/main/register.gif" width=320></TD>
<TD class=bktables width=10 rowSpan=2><IMG height=1
src="../images/main/pixel.gif" width=10></TD>
</TR>
<TR>
<TD class=bktables vAlign=top width=320><table width="320" height="76" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="../images/gate.jpg"><div align="center"></div>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="320" height="76" align="middle">
<param name="movie" value="../images/line.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="../images/line.swf" width="320" height="76" align="middle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object></td>
</tr>
</table></TD>
<TD class=bktables vAlign=middle width=320><ul>
<li class="admincopy">Add:QiJiang Road, HengLan Town, ZhongShan, GuangDong, P.R.China</li>
<li class="admincopy">Tel:086-0760-7761445 or 7761446</li>
<li class="admincopy">Fax:086-0760-7614828</li>
<li class="admincopy">E-mail:<a href="mailto:info@kang-de.com" class="admincopy">info@kang-de.com</a></li>
</ul></TD>
</TR>
<TR>
<TD vAlign=top width=340 colSpan=3><img height=30
src="../images/main/bot5.gif" width=340></TD>
<TD vAlign=top width=340 colSpan=3><IMG height=30
src="../images/main/bot5.gif" width=340></TD>
</TR>
</TBODY>
</TABLE>
<!-- #EndLibraryItem --><TABLE cellSpacing=0 cellPadding=0 width=690 border=0>
<TBODY>
<TR>
<TD align=right width=680><IMG id=contactus_foot height=5
alt="Contact Us" src="../images/main/contactus.gif" width=57 border=0
name=contactus_foot> <IMG id=privacy_foot height=5
alt=Privacy src="../images/main/privacy.gif" width=41 border=0
name=privacy_foot> <IMG
id=home_foot height=5 alt=Home src="../images/main/home.gif" width=20
border=0 name=home_foot> </TD>
<TD align=right width=10><IMG height=1 src="../images/main/pixel.gif"
width=10 border=0></TD></TR></TBODY></TABLE></CENTER>
</BODY></HTML>
moffatt 2004-07-28
  • 打赏
  • 举报
回复
</HEAD>
<BODY bgColor=#999da3 leftMargin=0 topMargin=0
onload="MM_preloadImages('/images/nav/aboutecko_r.gif','/images/nav/gallery_r.gif','/images/nav/community_r.gif','/images/nav/news_r.gif','/images/nav/calendar_r.gif','/images/nav/stores_r.gif','/images/nav/shop_r.gif','../images/main/title-contact2.gif','../images/main/title-home2.gif','../images/main/title-company2.gif','../images/main/title-prducts2.gif','../images/main/title-support2.gif','../images/main/title-feedback2.gif','../images/main/title-projects2.gif')"
marginheight="0" marginwidth="0">
<CENTER>
<TABLE cellSpacing=0 cellPadding=0 width=690 border=0>
<TBODY>
<TR>
<TD align=right width=680><IMG id=contactus height=5
alt="Contact Us" src="../images/main/contactus.gif" width=57 border=0
name=contactus> <IMG id=privacy height=5
alt=Privacy src="../images/main/privacy.gif" width=41 border=0
name=privacy> <IMG
id=home height=5 alt=Home src="../images/main/home.gif" width=20
border=0 name=home> </TD>
<TD align=right width=10><IMG height=1 src="../images/main/pixel.gif"
width=10 border=0></TD></TR></TBODY></TABLE><IMG height=5
src="../images/main/pixel.gif" width=1 border=0>
<TABLE cellSpacing=0 cellPadding=0 width=690 border=0>
<TBODY>
<TR>
<TD colSpan=3><IMG height=9 src="../images/main/top4_long_home.gif"
width=690></TD></TD></TR>
<TR>
<TD class=navprimary> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="4%"> </td>
<td width="6%"><img
id=eckounltd height=71 alt=EckoUnltd.com src="../images/main/logo.gif"
width=42 border=0 name=eckounltd></td>
<td width="90%"><table width="630" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="90"><a href="../index.htm"><img src="../images/main/title-home.gif" name="Image2" width="90" height="30" border="0" id="Image2" onMouseOver="MM_swapImage('Image2','','../images/main/title-home2.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
<td width="90"><a href="../company.htm"><img src="../images/main/title-company.gif" name="Image3" width="90" height="30" border="0" id="Image3" onMouseOver="MM_swapImage('Image3','','../images/main/title-company2.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
<td width="90"><a href="../Products/Product.asp"><img src="../images/main/title-prducts.gif" name="Image5" width="90" height="30" border="0" id="Image5" onMouseOver="MM_swapImage('Image5','','../images/main/title-prducts2.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
<td width="90"><a href="../projects.htm"><img src="../images/main/title-projects.gif" name="Image4" width="90" height="30" border="0" id="Image4" onMouseOver="MM_swapImage('Image4','','../images/main/title-projects2.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
<td width="90"><a href="../support.htm"><img src="../images/main/title-support.gif" name="Image6" width="90" height="30" border="0" id="Image6" onMouseOver="MM_swapImage('Image6','','../images/main/title-support2.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
<td width="90"><a href="../Feedback/index.asp"><img src="../images/main/title-feedback.gif" name="Image7" width="90" height="30" border="0" id="Image7" onMouseOver="MM_swapImage('Image7','','../images/main/title-feedback2.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
<td width="90"><a href="../contact.htm"><img src="../images/main/title-contact.gif" name="Image1" width="90" height="30" border="0" id="Image1" onMouseOver="MM_swapImage('Image1','','../images/main/title-contact2.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
</tr>
</table></td>
</tr>
</table>

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧