dreamweaver留言板的代码给我个好不好哦!!!!

就是给我个dreamweaver留言板的代码!!!!!给我直接复制到页面是拔!!!!

〈html〉〈head〉
〈meta http-equiv=〃content-type〃 content=〃text/html; charset=gb2312〃〉
〈meta name=〃author〃 content=〃contion〃〉
〈title〉自动选择留言板〈/title〉
〈script language=〃JavaScript〃〉〈!--
var i=0;
〈!-- 定义你的留言板数据,bbsurl为留言板的地址,bbsname为留言板提供商的名称,
bbsimg是位于留言板提供商服务器上的图像的地址,必须是存在的,否则本脚本将不能正常工作,
推荐使用留言板的表情图像;数组中各留言板应按个人喜好顺序往下排。 --〉
var bbsurl=new initarray(′ctsight.topcool.net/contact/e-mail.html′,′url1′,′url2′);
var bbsname=new initarray(′狂尘视野′,′留言板1′,′留言板2′);
var bbsimg=new initarray(′ctsight.topcool.net/logo.gif′,′
imgurl1′,′imgurl2′);
function initarray(){
this.length=initarray.arguments.length;
for(var i=0;i〈this.length;i++) this[i]=initarray.arguments[i];
}
function imgdl(){
if(i〈bbsurl.length){
var strinfo=′〈img src=〃http://′+bbsimg[i]+′〃width=〃1〃 height=〃1〃
onload=〃top.location=′http://′+bbsurl[i]+′′〃 onerror=〃gonext()〃
align=〃left〃〉〈p〉正在检测您与位于′+bbsname[i]+′
的留言板是否能够正常连接,这大概要花费几秒钟时间,请稍候……〈/p〉′;
if(document.all) document.all.imglayer.
innerhtml=strinfo;
else if(document.layers) document.
imglayer.document.write(strinfo);
}
else{
if(confirm(′您不能与本站任何留言板连接,要关闭当前窗口
吗?′)) top.close();
else{
var strinfo2=′〈p〉当前的状态是:未连接到任何服务器上
的留言板。′;
if(document.all) document.all.imglayer.innerhtml=strinfo2;
else if(document.layers) document.imglayer.document.write(strinfo2);
}
}
}
function gonext(){
window.alert(′已经检测到您与位于′+bbsname[i]+′的留言
板不能正常连接。′);
i++;imgdl();
}
//--〉〈/script〉
〈/head〉
〈body bgcolor=〃#ffffff〃 onload=〃imgdl()〃〉
〈div id=〃imglayer〃 style=〃position:absolute; visibility:visible; z-index:1〃〉〈/div〉
〈/body〉〈/html〉
这个我个人觉得不错 希望您满意
温馨提示:答案为网友推荐,仅供参考