window
スクリプトエラーを非表示にする方法 ( No.0 )
日時: 2011/01/05 17:44
名前: jene

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>サンプル</title>
<style type="text/css">
<!--
a{
text-decoration: underline;
color : #003399;
}
a:visited{
text-decoration: underline;
color : blue;
}
a:hover{
text-decoration: underline;
}
a:active{
text-decoration: underline;
color : #ff0099;
}
.Face{
FONT-FAMILY: tahoma,verdana,arial,helvetica,serif,MSゴシック;
}
-->
</style>
</head>
<body class="Face"><script language="JavaScript" src="title.js"></script>
<table border="0" cellpadding="3" cellspacing="0">
<tbody>
<tr>
<td bgcolor="#F90000" align="center" style="font-size : 11pt;" width="500"><font color="#ffffff" style="font-size : 11pt;"><b>What's New</b></font></td>
</tr>
</tbody>
</table>
<table border="1" bordercolor="#F90000" cellpadding="0" cellspacing="0" width="506" bgcolor="#ffffff">
<tbody>
<tr>
<td>
<table border="0" cellpadding="2" cellspacing="0" width="496" style="font-size : 10pt;">
<tbody>
<tr>
<td rowspan="12" width="5"></td>
<td height="18" width="474"></td>
<td rowspan="12" width="5"></td>
</tr>
<tr>
<td width="474"><font color="#FF0000"><font color="#FF0000"><a href="newsboard.cgi?cmd=dj&Num=1">■</a></font></font>&nbsp; <a href="newsboard.cgi?Num=1"><script language="JavaScript">
<!--
document.write(TITLE1);
// -->
</script></a>&nbsp; <script language="JavaScript">
<!--
document.write(DATE1);
// -->
</script></td>
</tr>
<tr>
<td width="474"><font color="#FF0000"><a href="newsboard.cgi?cmd=dj&Num=2">■</a></font>&nbsp; <a href="newsboard.cgi?Num=2"><script language="JavaScript">
<!--
//document.write(TITLE2);
-->
</script></a>&nbsp; <script language="JavaScript">
<!--
//document.write(DATE2);
-->
</script></td>
</tr>
<tr>
<td width="474"><font color="#FF0000"><a href="newsboard.cgi?cmd=dj&Num=3">■</a></font>&nbsp; <a href="newsboard.cgi?Num=3"><script language="JavaScript">
<!--
//document.write(TITLE3);
// -->
</script></a>&nbsp; <script language="JavaScript">
<!--
//document.write(DATE3);
// -->
</script></td>
</tr>
<tr>
<td width="474"><font color="#FF0000"><a href="newsboard.cgi?cmd=dj&Num=4">■</a></font>&nbsp; <a href="newsboard.cgi?Num=4"><script language="JavaScript">
<!--
//document.write(TITLE4);
// -->
</script></a>&nbsp; <script language="JavaScript">
<!--
//document.write(DATE4);
// -->
</script></td>
</tr>
<tr>
<td width="474"><font color="#FF0000"><a href="newsboard.cgi?cmd=dj&Num=5">■</a></font>&nbsp; <a href="newsboard.cgi?Num=5"><script language="JavaScript">
<!--
//document.write(TITLE5);
// -->
</script></a>&nbsp; <script language="JavaScript">
<!--
//document.write(DATE5);
// -->
</script></td>
</tr>
<tr>
<td width="474"><font color="#FF0000"><a href="newsboard.cgi?cmd=dj&Num=6">■</a></font>&nbsp; <a href="newsboard.cgi?Num=6"><script language="JavaScript">
<!--
//document.write(TITLE6);
// -->
</script></a>&nbsp; <script language="JavaScript">
<!--
//document.write(DATE6);
// -->
</script></td>
</tr>
<tr>
<td width="474"><font color="#FF0000"><a href="newsboard.cgi?cmd=dj&Num=7">■</a></font>&nbsp; <a href="newsboard.cgi?Num=7"><script language="JavaScript">
<!--
//document.write(TITLE7);
// -->
</script></a>&nbsp; <script language="JavaScript">
<!--
//document.write(DATE7);
// -->
</script></td>
</tr>
<tr>
<td width="474"><font color="#FF0000"><a href="newsboard.cgi?cmd=dj&Num=8">■</a></font>&nbsp; <a href="newsboard.cgi?Num=8"><script language="JavaScript">
<!--
//document.write(TITLE8);
// -->
</script></a>&nbsp; <script language="JavaScript">
<!--
//document.write(DATE8);
// -->
</script></td>
</tr>
<tr>
<td width="474"><font color="#FF0000"><a href="newsboard.cgi?cmd=dj&Num=9">■</a></font>&nbsp; <a href="newsboard.cgi?Num=9"><script language="JavaScript">
<!--
//document.write(TITLE9);
// -->
</script></a>&nbsp; <script language="JavaScript">
<!--
//document.write(DATE9);
// -->
</script></td>
</tr>
<tr>
<td width="474"><font color="#FF0000"><a href="newsboard.cgi?cmd=dj&Num=10">■</a></font>&nbsp; <a href="newsboard.cgi?Num=10"><script language="JavaScript">
<!--
//document.write(TITLE10);
// -->
</script></a>&nbsp; <script language="JavaScript">
<!--
//document.write(DATE10);
// -->
</script></td>
</tr>
<tr>
<td align="right" height="18" width="474"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</body>
</html>


-----------------------------------------
<!--
document.write(TITLE1);
// -->

<!--
document.write(DATE1);
// -->

・・・・・・・・・・TITLE2,DATE2,DATE3,DATE3....
の位置で「宣言されていません。」の表示が出てしまいますつД`)・゚・。・゚゚・*:.。
2〜3時間ググっても解決できませんでしたので投稿いたしました

<!--
//document.write(TITLE2);
-->。。と前に「//」入れるとエラー表示されないので、今はしてるだけで入れるとブラウザ上で表示されない。

amigoさんとこの
http://www.cgi-amigo.com/
AmigoNewsBoardです

エラーのままupするとブラウザ上ではエラーはでませんので
ビルダーのエラー表示をoffにするにはどうすればいいでしょうか?