小弟愚笨,用了上面那位兄台的代码还是不行(那个是用于flash的吧)。现在附带一份有提示框弹出的提交表单文件和一个新插入的flash文档。请各位帮忙修改一下,能否让阻止框不弹出,谢谢!~~
表单:
<%@ Page Language="C#" ContentType="text/html" ResponseEncoding="gb2312" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Request of business</title>
<script language=javascript>
function checkform()
{
var name = document.addnew.name.value;
if (addnew.name.value=="") {
alert("请输入姓名!");
addnew.name.focus();
return (false);
}
var address = document.addnew.address.value;
if (addnew.address.value=="") {
alert("请输入地址!");
addnew.address.focus();
return (false);
}
var phone = document.addnew.phone.value;
if (addnew.phone.value=="") {
alert("请输入电话!");
addnew.phone.focus();
return (false);
}
return true;
}
</SCRIPT>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<style type="text/css">
<!--
#top {
position:absolute;
width:9px;
height:14px;
z-index:1;
visibility: visible;
top: 16px;
}
#engbutton {
position:absolute;
width:31px;
height:19px;
z-index:2;
top: 136px;
visibility: visible;
}
#chibutton {
position:absolute;
left:12px;
top:179px;
width

80px;
height:42px;
z-index:3;
visibility: visible;
}
#left {
position:absolute;
left:10;
top:223px;
width:180;
height:994px;
z-index:4;
visibility: visible;
background-color: #FFFFFF;
}
#middle {
position:absolute;
left:192px;
top:226px;
width:701px;
height:950px;
z-index:5;
visibility: visible;
}
#Layer1 {
position:absolute;
top:766px;
width:189px;
height:29px;
z-index:6;
}
#Layer2 {
position:absolute;
top:2px;
width:10px;
height:763px;
z-index:6;
}
#foot {
position:absolute;
top:1230;
width:90px;
height:15px;
z-index:6;
visibility: visible;
}
#right {
position:absolute;
left:225px;
top:226px;
width:668px;
height:964px;
z-index:7;
visibility: visible;
}
.STYLE1 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}
.STYLE3 {
font-size: 12px;
font-weight: bold;
}
.STYLE5 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
.默认 {font-size: 12px}
.STYLE8 {font-family: Arial, Helvetica, sans-serif}
body,td,th {
font-family: 宋体;
font-size: 12px;
}
.STYLE12 {font-family: "宋体"}
#foot1 {
position:absolute;
top:1201px;
width:701px;
height:17px;
z-index

;
visibility: visible;
left: 189px;
}
#yuanjiao {
position:absolute;
width:24px;
height:17px;
z-index:9;
left: 125px;
top: 1103px;
visibility: visible;
}
body {
background-image: url();
}
.STYLE14 {color: #666666}
-->
</style>
</head>
<body>
<div id="top"><img src="images/top.jpg" width="878" height="118" border="0" usemap="#Map" />
<map name="Map" id="Map">
<area shape="rect" coords="195,27,256,49" href="http://www.semia.com/" />
<area shape="rect" coords="316,28,374,48" href="#" /><area shape="rect" coords="431,26,491,48" href="#" />
<area shape="rect" coords="671,26,728,49" href="#" /><area shape="rect" coords="789,27,848,47" href="#" />
<area shape="rect" coords="556,28,610,48" href="#" /><area shape="rect" coords="0,74,144,112" href="http://www.lego.com/education/#" />
</map></div>
<div id="engbutton"><img src="images/eng_button.gif" width="879" height="43" /></div>
<div id="chibutton"></div>
<div id="left">
<table width="180" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="Business Partners/images/business partners_top.gif" width="180" height="108" /></td>
</tr>
</table>
<table width="180" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/white.gif" width="180" height="2" /></td>
</tr>
<tr>
<td><a href="Business Partners/business partners_our workroom.aspx"><img src="Business Partners/images/womendegongzuoshi.gif" width="180" height="28" border="0" /></a></td>
</tr>
<tr>
<td><img src="Business Partners/images/womendehuoban.gif" width="180" height="28" /></td>
</tr>
<tr>
<td><a href="Business Partners/business partners_cooprate precess.aspx"><img src="Business Partners/images/hezuoliucheng.gif" width="180" height="28" border="0" /></a></td>
</tr>
<tr>
<td><a href="Business Partners/business partners_request.aspx"><img src="Business Partners/images/hezuoshenqing_b.gif" width="180" height="28" border="0" /></a></td>
</tr>
<tr>
<td><a href="Business Partners/business partners_contact us.aspx"><img src="Business Partners/images/lianxiwomen.gif" width="180" height="28" border="0" /></a></td>
</tr>
</table>
<table width="180" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/white.gif" width="180" height="1" /></td>
</tr>
</table>
<table width="180" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="Business Partners/images/table_05.jpg"><table id="login" width="180" height="121" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="5"><img src="Business Partners/images/2_01.gif" width="180" height="28" alt="" /></td>
</tr>
<tr>
<td colspan="5"><img src="Business Partners/images/2_02.jpg" width="180" height="1" alt="" /></td>
</tr>
<tr>
<td colspan="5"><img src="Business Partners/images/2_03.gif" width="180" height="5" alt="" /></td>
</tr>
<tr>
<td><img src="Business Partners/images/2_04.gif" width="7" height="60" alt="" /></td>
<td colspan="2"><table width="170" height="46" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="61" height="30"> 用户:</td>
<td width="96" height="30"><input class="input"
id="UserLogIn1_txtUid"
onkeydown="if(event.keyCode==13){document.all.UserLogIn1_imgbtnLogin.focus();event.keyCode=13;event.keyCode=13;return true;}"
style="WIDTH: 80px" tabindex="1"
name="partnersId" /></td>
</tr>
<tr>
<td height="30"> 密码:</td>
<td height="30"><input class="STYLE12"
id="UserLogIn1_txtPwd"
onkeydown="if(event.keyCode==13){document.all.UserLogIn1_imgbtnLogin.focus();event.keyCode=13;event.keyCode=13;return true;}"
style="WIDTH: 80px" tabindex="2" type="password"
name="partnerspassword" /></td>
</tr>
</table></td>
<td colspan="2"><img src="Business Partners/images/2_06.gif" width="3" height="60" alt="" /></td>
</tr>
<tr>
<td colspan="2"><img src="Business Partners/images/2_07.gif" alt="" width="90" height="37" border="0" /></td>
<td colspan="2"><img src="Business Partners/images/2_08.jpg" width="88" height="37" alt="" /></td>
<td><img src="Business Partners/images/2_09.gif" width="2" height="37" alt="" /></td>
</tr>
<tr>
<td colspan="5"><img src="Business Partners/images/2_10.gif" width="180" height="3" alt="" /></td>
</tr>
<tr>
<td><img src="Business Partners/images/分隔符.gif" width="7" height="1" alt="" /></td>
<td><img src="Business Partners/images/分隔符.gif" width="83" height="1" alt="" /></td>
<td><img src="Business Partners/images/分隔符.gif" width="87" height="1" alt="" /></td>
<td><img src="Business Partners/images/分隔符.gif" width="1" height="1" alt="" /></td>
<td><img src="Business Partners/images/分隔符.gif" width="2" height="1" alt="" /></td>
</tr>
</table>
<img src="Business Partners/images/business partners_left.gif" width="180" height="102" /></td>
</tr>
</table>
<table width="180" height="505" border="0" cellpadding="0" cellspacing="0" bgcolor="#019501">
<tr>
<td> </td>
</tr>
</table>
</div>
<div id="middle">
<table width="687" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="40" height="336"> </td>
<td width="647"><table width="180" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="604" height="40" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="Business Partners/images/hezuoshenqingbiao.gif" width="300" height="40" /></td>
</tr>
</table></td>
</tr>
</table>
<table width="604" height="31" border="0" cellpadding="0" cellspacing="0" bgcolor="#068E06">
<tr>
<td bgcolor="#DAFEE8"><p><span class="STYLE1">  

ersonal Data</span> <span class="STYLE3">个人资料</span> </p></td>
</tr>
</table>
<table width="180" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><form id="form" name=addnew method=post action=Business Partners/# enctype="multipart/form-data" onSubmit="return checkform()">
<table width="180" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="605" height="30" border="0" cellpadding="0" cellspacing="0">
<tr bgcolor="#EAFDFC">
<td width="187" height="30"><span class="STYLE5">Name</span><span class="默认"> 姓名:</span></td>
<td width="418"><label>
<input name="name" type="text" class="form" id="name" size="22" maxlength="12" />
*</label></td>
</tr>
<tr>
<td height="30"><span class="默认"><span class="STYLE8">Street address</span> 住址:</span></td>
<td width="418"><label>
<input name="address" type="text" id="address" size="50" maxlength="50" />
*</label></td>
</tr>
<tr bgcolor="#EAFDFC">
<td height="30"><span class="默认"><span class="STYLE8">City</span> 市:</span></td>
<td width="418"><label>
<input name="City2" type="text" id="City2" size="12" maxlength="12" />
</label></td>
</tr>
<tr>
<td height="30"><span class="STYLE5">State</span><span class="默认"> 州(省):</span></td>
<td width="418"><label>
<input name="State2" type="text" id="State2" size="12" maxlength="12" />
</label></td>
</tr>
<tr bgcolor="#EAFDFC">
<td height="30"><span class="STYLE5">Zip code</span><span class="默认"> 邮编:</span></td>
<td width="418"><label>
<input name="Zip code2" type="text" id="Zip code2" size="6" maxlength="6" />
</label></td>
</tr>
<tr>
<td height="30"><span class="STYLE5">Country</span><span class="默认"> 国家:</span></td>
<td width="418"><input name="Country2" type="text" id="Country2" size="6" maxlength="4" /></td>
</tr>
<tr bgcolor="#EAFDFC">
<td height="30"><span class="STYLE5">Business phone</span><span class="默认"> 联系电话:</span></td>
<td width="418"><input name="phone" type="text" id="phone" maxlength="12" />
*</td>
</tr>
<tr>
<td height="30"><span class="STYLE5">Best time to call</span><span class="默认"> 最佳联系时间</span>: </td>
<td width="418"><select name="select" id="select">
<option selected="selected">9:00-12:00</option>
<option>13:00-18:00</option>
</select>
</td>
</tr>
<tr bgcolor="#EAFDFC">
<td height="30"><span class="STYLE5">Email address</span><span class="默认"> 电邮:</span></td>
<td width="418"><input name="Email address2" type="text" id="Email address2" maxlength="20" /></td>
</tr>
</table></td>
</tr>
</table>
<table width="180" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<table width="604" height="31" border="0" cellpadding="0" cellspacing="0" bgcolor="#068E06">
<tr>
<td bgcolor="#DAFEE8"><p><span class="STYLE1"> <strong>Business questionnaire 问卷调查</strong></span></p></td>
</tr>
</table>
<table width="180" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<table width="604" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="604" height="40"><p>1、<span class="STYLE5">How did you become aware of this cooperation opportunity (e.g. newspaper ad, trade show)?</span><br />
您是怎样获悉我司合作经营的招商信息的(如:报刊广告、商贸巡演)?</p></td>
</tr>
<tr>
<td height="30">
<input name="12" type="text" id="12" size="60" maxlength="50" /></td>
</tr>
<tr>
<td height="26">2、<span class="STYLE8">Why do you apply for joining into LEC family? </span>为何您要申请加入LEC大家庭?</td>
</tr>
<tr>
<td>
<input name="love children喜欢孩子2" type="checkbox" id="love children喜欢孩子2" value="love children 喜欢孩子" />
<span class="STYLE8">love children</span> 喜欢孩子
<input name="have previous related experience2" type="checkbox" id="have previous related experience2" value="have previous related experience 以前有过经验" />
<span class="STYLE8">have previous related experience</span> 以前有过经验</td>
</tr>
<tr>
<td>
<input name="can earn high return from the business2" type="checkbox" id="can earn high return from the business2" value="can earn high return from the business 一项投资回报率很高的生意" />
<span class="STYLE8">can earn high return from the business</span> 一项投资回报率很高的生意</td>
</tr>
<tr>
<td>
<input name="a stable business with good prospect2" type="checkbox" id="a stable business with good prospect2" value="a stable business with good prospect 一个稳定的生意但有很好的前景" />
<span class="STYLE8">a stable business with good prospect</span> 一个稳定的生意但有很好的前景</td>
</tr>
<tr>
<td>
<input name="diversify investment to reduce risk2" type="checkbox" id="diversify investment to reduce risk2" value="diversify investment to reduce risk 是我的一项投资来降低风险" />
<span class="STYLE8">diversify investment to reduce risk</span> 是我的一项投资来降低风险
<input name="to change my career2" type="checkbox" id="to change my career2" value="to change my career 改变我的事业" />
<span class="STYLE8">to change my career</span> 改变我的事业</td>
</tr>
<tr>
<td>
<input name="a philanthropy to return the community2" type="checkbox" id="a philanthropy to return the community2" value="a philanthropy to return the community 一种回馈社会的慈善事业" />
<span class="STYLE8">a philanthropy to return the community</span> 一种回馈社会的慈善事业
<input name="other2" type="checkbox" id="other4" value="other 其它" />
<span class="STYLE8">other</span> 其它</td>
</tr>
<tr>
<td height="26"> <span class="STYLE8">please specified </span>请注明:
<input name="please specified2" type="text" id="please specified2" size="50" maxlength="50" /></td>
</tr>
<tr>
<td height="26">3、<span class="STYLE8">What is your strength in running a LEGO workshop? </span>您开一个工作室的优势是什么?</td>
</tr>
<tr>
<td>
<input name="your strong related experience2" type="checkbox" id="your strong related experience3" value="your strong related experience 以前的经验" />
<span class="STYLE8">your strong related experience</span> 以前的经验
<input name="can invest multiple workshops2" type="checkbox" id="can invest multiple workshops" value="can invest multiple workshops 有能力投资几家工作室" />
<span class="STYLE8">can invest multiple workshops </span>有能力投资几家工作室</td>
</tr>
<tr>
<td>
<input name="strong social relationship2" type="checkbox" id="strong social relationship" value="strong social relationship?很强的社会关系" />
<span class="STYLE8">strong social relationship</span> 很强的社会关系
<input name="other2" type="checkbox" id="other5" value="other?其它" />
<span class="STYLE8">other</span> 其它</td>
</tr>
<tr>
<td height="26"> <span class="STYLE8">please specified </span>请注明:
<input name="please specified2" type="text" id="please specified2" size="50" maxlength="50" /></td>
</tr>
<tr>
<td height="26"><p>4、<span class="STYLE8">Who will be in charge of the workshop?</span> 谁会在将来运作工作室? </p></td>
</tr>
<tr>
<td><span class="STYLE8">
<input name="yourself2" type="checkbox" id="yourself" value="yourself 你本人 " />
yourself</span> 你本人<span class="STYLE8">
<input name="others2" type="checkbox" id="others" value="others 其他人" />
others </span>其他人</td>
</tr>
<tr>
<td height="26"> <span class="STYLE8">please specified </span>请注明:
<input name="please specified2" type="text" id="please specified2" size="50" maxlength="50" /></td>
</tr>
<tr>
<td height="26"><span class="STYLE8"><span class="STYLE12">5、</span>Your business location preference (city or district)</span> 您首选的营城市或区域为:</td>
</tr>
<tr>
<td> <span class="STYLE8">First choice</span> 第一选择:
<input name="textfield4" type="text" maxlength="20" /></td>
</tr>
<tr>
<td> <span class="STYLE8">Second choice</span> 第二选择:
<input name="textfield22" type="text" maxlength="200" /></td>
</tr>
<tr>
<td height="26">6、<span class="STYLE8">How soon would you like to be ready to start your own business? 您最快可以何时启动这个特许项目?</span></td>
</tr>
<tr>
<td height="26">
<input name="textfield32" type="text" size="50" maxlength="50" /></td>
</tr>
<tr>
<td><div align="center">
<input name="Submit2" type="submit" class="form" value=" 提 交 " />
<input name="Submit2" type="reset" class="form" value=" 重 填 " />
</div></td>
</tr>
</table>
</form>
</td>
</tr>
</table></td>
</tr>
</table>
</div>
<div id="foot"><img src="images/foot.gif" width="869" height="16" /></div>
<div id="foot1"><img src="Business Partners/images/business partners_foot.gif" width="688" height="15" /></div>
<div id="layer"><img src="Business Partners/images/hezuoshenqingbiao.gif" width="300" height="40" /></div>
<div id="yuanjiao"><img src="Business Partners/images/business partners_foot_2.gif" width="103" height="99" /></div>
</body>
</html>
flash:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<table width="69" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><object classid="clsid

27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="294" height="441">
<param name="movie" value="alco.swf" />
<param name="quality" value="high" />
<embed src="alco.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="294" height="441"></embed>
</object></td>
</tr>
</table>
</body>
</html>