最近在学习前端的知识,于是就想写一个简单的页面跳转,必须是勾选了“我同意”这个选项以后才能跳转,否则不能,不废话,直接上代码。
首先是第一个页面:testlogin1.htmlhtml>
Titletype="text/javascript"
src="http://localhost:63342/python 文件/testlogin.html"
我同意:
然后是第二个页面testlogin.htmlhtml>
登录#login {
width: 290px;
height: auto;
overflow: hidden;
border: solid 1px #CCCCCC;
}
#login_title {
width: 100%;
height: 40px;
line-height: 40px;
background-color: #F60;
text-align: center;
}
.line {
width: 250px;
height: 30px;
line-height: 30px;
margin-left: 20px;
text-align: center;
font-family: 楷体;
}
.line input {
width: 150px;
}
.line a {
font-size: 14px;</