欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

js制作帶有遮罩彈出層實(shí)現(xiàn)登錄注冊(cè)表單特效代碼分享

 更新時(shí)間:2015年09月05日 09:32:06   投稿:lijiao  
這篇文章主要為大家詳細(xì)介紹了js制作帶有遮罩彈出層實(shí)現(xiàn)登錄注冊(cè)表單代碼特效,推薦給大家,有需要的小伙伴可以參考下。

本文實(shí)例講述了js制作帶有遮罩彈出層實(shí)現(xiàn)登錄注冊(cè)表單代碼特效代碼。分享給大家供大家參考。具體如下:

運(yùn)行效果圖:                     ----------------------查看效果   源碼下載-----------------------

小提示:瀏覽器中如果不能正常運(yùn)行,可以嘗試切換瀏覽模式。

jquery制作的帶有遮罩彈出層實(shí)現(xiàn)登錄注冊(cè)等表單的特效源碼,是一段實(shí)現(xiàn)了點(diǎn)擊后在原始頁(yè)面上彈出想用頁(yè)面的代碼。
 為大家分享的js制作帶有遮罩彈出層實(shí)現(xiàn)登錄注冊(cè)表單代碼特效代碼如下

<!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=utf-8" />
<title>js制作帶有遮罩彈出層實(shí)現(xiàn)登錄注冊(cè)表單代碼特效</title>

<link rel="stylesheet" type="text/css" href="css/198zone.css">


</head>
<body>

<a class="btn01" data-toggle="modal" href="#login-modal">登錄</a>
<a class="btn02" data-toggle="modal" href="#signup-modal">注冊(cè)</a>
<a class="btn03" data-toggle="modal" href="#forgetform">找回密碼</a>
<a class="btn02" data-toggle="modal" href="#activation-modal">用戶信息</a>
<a class="btn03" data-toggle="modal" href="#setpassword-modal">重置密碼</a>



<div class="modal" id="login-modal">
 <a class="close" data-dismiss="modal">×</a>
 <h1>登錄</h1>
 <ul class="login-bind-tp">
 <li class="qweibo"> <a href="http://www.dbjr.com.cn"><em>&nbsp;</em> QQ登錄</a> </li>
 <li class="sina"> <a href="http://www.dbjr.com.cn"><em>&nbsp;</em> 微博登錄</a> </li>
 <li class="douban"> <a href="http://www.dbjr.com.cn"><em>&nbsp;</em> 豆瓣登錄</a> </li>
 </ul>
 <p>或者使用已有帳號(hào)登陸:</p>
 <form class="login-form clearfix" method="post" action="http://www.dbjr.com.cn">
 <div class="form-arrow"></div>
 <input name="email" type="text" placeholder="郵箱:">
 <input name="password" type="password" placeholder="密碼:">
 <input type="submit" name="type" class="button-blue login" value="登錄">
 <input type="hidden" name="return-url" value="">
 <div class="clearfix"></div>
 <label class="remember"><input name="remember" type="checkbox" checked/>下次自動(dòng)登錄 </label>
 <a class="forgot">忘記密碼?</a>
 <ul class="third-parties">
 <li><p>新浪微博帳號(hào)</p></li>
 <li><p>騰訊微博帳號(hào)</p></li>
 <li><p>豆瓣帳號(hào)</p></li>
 <li><p></p></li>
 </ul>
 </form>
</div>


<div class="modal" id="signup-modal">
 <a class="close" data-dismiss="modal">×</a>
 <h1>注冊(cè)</h1>
 <ul class="login-bind-tp">
 <li class="qweibo"> <a href="http://www.dbjr.com.cn"><em>&nbsp;</em> QQ登錄</a> </li>
 <li class="sina"> <a href="http://www.dbjr.com.cn"><em>&nbsp;</em> 微博登錄</a> </li>
 <li class="douban"> <a href="http://www.dbjr.com.cn"><em>&nbsp;</em> 豆瓣登錄</a> </li>
 </ul>
 <p>或者使用郵箱注冊(cè):</p>
 <form class="signup-form clearfix" method="post" action="http://www.dbjr.com.cn">
 <p class="error"></p>
 <input name="email" type="text" placeholder="郵箱:">
 <input name="password" type="password" placeholder="密碼:">
 <input name="password1" type="password" placeholder="確認(rèn)密碼:">
 <input name="username" type="text" placeholder="用戶名:">
 <input type="hidden" name="title" value="">
 <input type="hidden" name="url" value="">
 <div class="clearfix"></div>
 <input type="button" name="type" class="button-blue reg" value="注冊(cè)" data-action="regist">
 <ul class="third-parties">
 <li><p>新浪微博帳號(hào)</p></li>
 <li><p>騰訊微博帳號(hào)</p></li>
 <li><p>豆瓣帳號(hào)</p></li>
 </ul>
 </form>
</div>


<div class="modal" id="forgetform">
 <a class="close" data-dismiss="modal">×</a>
 <h1>忘記密碼</h1>
 <form class="forgot-form" method="post" action="http://www.dbjr.com.cn">
 <input name="email" value="" placeholder="注冊(cè)郵箱:">
 <div class="clearfix"></div>
 <input type="submit" name="type" class="forgot button-blue" value="發(fā)送重設(shè)密碼郵件">
 </form>
</div>


<div class="modal" id="activation-modal">
 <a class="close" data-dismiss="modal">×</a>
 <h1>設(shè)置用戶信息</h1>
 <form class="signup-form clearfix" method="post" action="http://www.dbjr.com.cn">
 <input autocomplete=off name="username" value="" placeholder="用戶名:">
 <input autocomplete=off name="password" type="password" placeholder="密碼:">
 <input autocomplete=off name="password2" type="password" placeholder="確認(rèn)密碼:">
 <input type="submit" name="type" class="button-blue reg" value="確認(rèn)并登錄" data-action="regist">
 <div class="clearfix"></div>
 </form>
</div>


<div class="modal" id="setpassword-modal">
 <a class="close" data-dismiss="modal">×</a>
 <h1>重置密碼</h1>
 <form class="signup-form clearfix" method="post" action="http://www.dbjr.com.cn">
 <input name="email" value="">
 <input name="password" type="password" placeholder="密碼:">
 <input name="password2" type="password" placeholder="確認(rèn)密碼:">
 <input name="token" type="hidden" value="">
 <input type="submit" name="type" class="button-blue reg" value="設(shè)置新密碼并登錄" data-action="reset">
 <div class="clearfix"></div>
 </form>
</div>


<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="js/modal.js"></script>
<script type="text/javascript">
$(document).ready(function(){

 $("a.forgot").click(function(){
 $("#login-modal").modal("hide");
 $("#forgetform").modal({show:!0})
 });
 
 $("#signup-modal").modal("hide");
 $("#forgetform").modal("hide");
 $("#login-modal").modal("hide");
 $("#activation-modal").modal("hide");
 $("#setpassword-modal").modal("hide");
 
});
</script>

</body>
</html>

以上就是為大家分享的js制作帶有遮罩彈出層實(shí)現(xiàn)登錄注冊(cè)表單代碼特效代碼,希望大家可以喜歡。

相關(guān)文章

最新評(píng)論