代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, minimal-ui">
<title></title>
<link rel="stylesheet" type="text/css" href="css/body.css" />
<link rel="stylesheet" type="text/css" href="css/contactus.css" />
<link rel="stylesheet" type="text/css" href="css/header.css" />
<link rel="stylesheet" href="jquery-ui-1.12.1.custom/jquery-ui.css" />
<script src="js/jquery-3.2.1.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/index.js"></script>
<script src="js/jquery.easing.js" type="text/javascript" charset="utf-8"></script>
<script src="jquery-ui-1.12.1.custom/jquery-ui.js"></script>
<script src="js/cookie.js" type="text/javascript" charset="utf-8"></script>
<script src="js/canvas.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
function i()
{
//document.getElementById("form").addEventListener('submit', contactsubmit);
var cookit = getCookie("username");
if(cookit!="")
{
$("#loginin").text("注销");
}
Canvas_Initialization();
}
function check()
{
var iswrong = false;
if(document.getElementById("input_name").value == "")
{
document.getElementById("namewrong").innerHTML = "名字不能为空";
iswrong=true;
}
else
{
document.getElementById("namewrong").innerHTML = "";
}
var email = document.getElementById("input_email").value;
if(email == "")
{
document.getElementById("emailwrong").innerHTML="邮箱不能为空";
iswrong=true;
}
if(email.indexOf("@")==-1)
{
document.getElementById("emailwrong").innerHTML="邮箱格式不正确";
iswrong=true;
}
else
{
document.getElementById("emailwrong").innerHTML="";
}
if(!iswrong)
{
document.getElementById("form").submit();
}
}
</script>
</head>
<body onload="i()">
<header>
<nav>
<a href="index.html" id="Game">Game</a>
<a id="navlistbutton"></a>
<ul id="navlist">
<li>
<a href="index.html" id="homepage">主页</a>
</li>
<li>
<a href="ranking.html" id="rankinglist">排行榜</a>
</li>
<li>
<a href="other.html" id="other">关于</a>
</li>
<li>
<a href="loginin.html" id="loginin">登录</a>
</li>
</ul>
</nav>
</header>
<canvas id="myCanvas"></canvas>
<div id="text_contactsus">联系我们</div>
<section id="form_section">
<textarea type="text" cols=1 rows=1 placeholder="您的名字" name="name" id="input_name"></textarea>
<div id="namewrong"> </div>
<textarea type="text" cols=1 rows=1 placeholder="您的邮箱" name="email" id="input_email"></textarea>
<div id="emailwrong"> </div>
</section>
<div><textarea type="text" placeholder="建议..." id="input_advise" name="advise"></textarea></div>
<input type="button" id="contactsubmit" value="提交" onclick="check()"/>
</form>
<section id="address">
<div>
<p>公司地址</p>
<a href="#" id="goto4399">前往官网</a>
</div>
<div>
<p>广州</p>
<p>1234561111</p>
<p>1234561</p>
</div>
<div>
<p>上海</p>
<p>12345111611</p>
<p>12345116</p>
</div>
<div>
<p>北京</p>
<p>12311145611</p>
<p>12345116</p>
</div>
</section>
<iframe src="http://www.4399.com/" width="100%" height="200px" id="fuckiframe"></iframe>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。