Đăng nhập
Latest topics
» Tôi sẽ đỗ đại học!by nightWalker 9/2/2024, 7:00 pm
» Kỷ niệm xưa của chúng ta
by nightWalker 9/2/2024, 6:49 pm
» Bị lệch khung cần người giúp đỡ
by webhuy28 7/10/2021, 10:34 pm
» [HỎI ĐÁP] Danh sách bạn bè không thể hiển thị
by anhdaodaica1 2/10/2021, 10:04 pm
» [HỎI ĐÁP] Thông tin tài khoản không thể lưu thay đổi
by anhdaodaica1 2/10/2021, 6:05 am
» Phim bố già full
by huy.pc52 24/8/2021, 12:20 am
» Xin code Box HTML cho Forumvi
by Larva 1/7/2021, 12:57 pm
» Hello Anh Em Chinh phục
by HoàngTửNaivip5p 28/5/2021, 5:03 am
» Trang chủ tin tức cập nhật HOT 2016
by kenbi05 1/1/2020, 11:02 pm
» Không Dang9 bài viết = hình ảnh được
by huy.pc52 30/11/2019, 10:52 am
» CHÚC ANH EM NĂM MỚI VUI VẺ TRÀNG ĐẦY HẠNH PHÚC
by sps.kủn 12/2/2019, 1:16 pm
» Skin CNTT-K3 2015 (Full Mod)[✔]
by kenbi05 6/7/2018, 12:30 am
» baivong, handsome,....
by sps.kủn 29/6/2018, 1:54 pm
» [SHARE] SKIN ĐHFM.V7 @PUNBB
by tonyhoaivu 2/5/2018, 2:37 pm
» Share Skin Xanh Dương Cùi Bắp
by tonyhoaivu 28/4/2018, 5:57 pm
» Xin Skin http://v1.hotrofm.net/
by tonyhoaivu 28/4/2018, 5:45 pm
» Xin Skin Rao Vặt
by tonyhoaivu 15/4/2018, 12:07 pm
» Làm Sao Để Xóa Khung Này
by tonyhoaivu 14/4/2018, 7:18 pm
» [Lập nhóm]Lập nhóm fm
by vietkanpy 31/3/2018, 11:53 am
» [Help] về server úp ảnh của phutu [✔]
by baivong 17/3/2018, 10:18 pm
» Đừng khóc cho “tôi – Chinh Phục!”…
by AnHung 27/2/2018, 5:33 pm
» [Share] Skin Diendandaihoc.com [ Punbb ] [✔]
by Lu Mờ 13/2/2018, 7:28 pm
» Mời mấy thím vào groups Forumotion Việt Nam.
by dang02315 13/2/2018, 12:40 am
» Có thể làm các kiểu giao diện được không?
by Lu Mờ 9/2/2018, 3:40 pm
» ltns chinhphuc.info
by Shinichi Kudo 27/1/2018, 2:27 am
Top posting users this week
No user |
[Code] Khung đăng nhập - đăng ký đóng mở ( trượt )[✔]
+8
Choi Min Ki
dodonine
monkinggame
Juskteez
chipcoidj
thanhcong96
anh huy dan
chupy
12 posters
Trang 1 trong tổng số 1 trang
[Code] Khung đăng nhập - đăng ký đóng mở ( trượt )[✔]
Demo :
đặc điểm :
đóng mở khi ấn vào
có thể đăng ký luôn trong đó ( đỡ tốn vài bước trong đăng ký )
Cách làm :
Vào Header tìm đoạn code sau :
Cho code sau vào bên trên nó
Cho vào CSS:
Placement : các bạn chọn In all the pages
Thế là xong
Link gốc :
http://web-kreation.com/tutorials/nice-clean-sliding-login-panel-built-with-jquery/
- Code:
http://i43.servimg.com/u/f43/15/93/33/76/120.jpg
đặc điểm :
đóng mở khi ấn vào
có thể đăng ký luôn trong đó ( đỡ tốn vài bước trong đăng ký )
Cách làm :
Vào Header tìm đoạn code sau :
- Code:
<a id="top" name="top" accesskey="t"></a>
Cho code sau vào bên trên nó
- Code:
<!-- BEGIN switch_user_logged_out -->
<div id="rep-mail-bar">
<div id="toppanel">
<div id="panel" style="display: none; ">
<div class="content clearfix">
<div class="left">
<h1>Welcome to Cntt-k3</h1>
<h2>Hãy đăng ký và Đăng nhập để tham gia diễn đàn</h2>
<p class="grey">Diễn đàn hiển thị tốt nhất trên <a href="http://www.mozilla.com/en-US/products/download.html?product=firefox-3.0.10&os=win&lang=en-US" onmouseover="showtip('Tải Firefox ..!');" onmouseout="hidetip();" target="_blank"><img src="http://www.c3zone.net/users/2611/10/63/87/album/ff10.png"></a> và <a href="http://www.google.com/chrome?hl=vi" onmouseover="showtip('Tải Google Chrome ..!');" onmouseout="hidetip();" target="_blank"><img src="http://www.c3zone.net/users/2611/10/63/87/album/gc10.png"></a><br>với độ phân giải 1024x768 trở lên. <br></p>
</div>
<div class="left">
<form action="/login?redirect=/" method="post" name="form_login" id="login-vds">
<h1 class="padlock">Đăng nhập</h1>
<label class="grey" for="log">Tài khoản:</label>
<input class="field" id="log" type="text" size="10" name="username">
<label class="grey" for="pwd">Mật khẩu:</label>
<input class="field" id="pwd" type="password" size="10" name="password">
<input id="bt_login" class="bt_login" type="submit" name="login" value="Đăng nhập">
<label><input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever"> Remember me</label>
<div class="clear"></div>
</form>
<script type="text/javascript">//<![CDATA[
$(function(){$('#login-vds').attr('action','/login?redirect='+this.location.pathname);});//]]></script>
</div>
<div class="left right">
<form action="/register?agreed=true&step=2" method="post">
<h1>Đăng ký nhanh !</h1>
<label class="grey" for="signup">Tên truy cập : *</label>
<input class="field" type="text" id="username_reg" name="username" value="" size="25" maxlength="25">
<label class="grey" for="email">Email:</label>
<input class="field" type="text" name="email" id="email" size="23">
<label class="grey" for="signup">Mật khẩu : *</label>
<input class="field" type="password" id="password_reg" name="password" value="" size="25" maxlength="25">
<input type="submit" name="submit" value="Đăng ký" class="bt_register">
</form>
</div>
</div>
</div> <!-- /login -->
<!-- The tab on top -->
<div class="tab">
<ul class="login">
<li class="left"> </li>
<li>Chào bạn!</li>
<li class="sep">|</li>
<li id="toggle">
<a id="open" class="open" href="#" style="display: block; ">Đăng nhập | Đăng ký</a>
<a id="close" style="display: none; " class="close" href="#">Close | Đóng lại</a>
</li>
<li class="right"> </li>
</ul>
</div> <!-- / top -->
</div>
<!-- END switch_user_logged_out -->
Cho vào CSS:
- Code:
/* CSS del Header */
#rep-mail-bar {
position: fixed;
top: 0;
left: 0;
z-index: 99;
height: 25px;
font-size: 11px;
width: 100%;
z-index: 999;
}
/* Panel Tab/button */
.tab {
background: url(http://i.imgur.com/fDQkE.png) repeat-x 0 0;
height: 22px;
position: relative;
top: 0;
z-index: 999;
}
.tab ul.login {
display: block;
position: relative;
float: right;
clear: right;
height: 42px;
width: auto;
font-weight: bold;
line-height: 42px;
margin: 0;
right: 150px;
color: white;
font-size: 80%;
text-align: center;
}
.tab ul.login li.left {
background: url(http://i.imgur.com/XwNu2.png) no-repeat left 0;
height: 42px;
width: 30px;
padding: 0;
margin: 0;
display: block;
float: left;
}
.tab ul.login li.right {
background: url(http://i.imgur.com/QmQzs.png) no-repeat left 0;
height: 42px;
width: 30px;
padding: 0;
margin: 0;
display: block;
float: left;
}
.tab ul.login li {
text-align: left;
padding: 0 6px;
display: block;
float: left;
height: 42px;
background: url(http://i.imgur.com/PAFBM.png) repeat-x 0 0;
}
.tab ul.login li a {
color: #15ADFF;
}
.tab ul.login li a:hover {
color: white;
}
.tab .sep {color:#414141}
.tab a.open, .tab a.close {
height: 20px;
line-height: 20px !important;
padding-left: 30px !important;
cursor: pointer;
display: block;
width: 100px;
position: relative;
top: 11px;
width: 120px;
}
.tab a.open {background: url(http://i.imgur.com/NWFec.png) no-repeat left 0;}
.tab a.close {background: url(http://i.imgur.com/GGiBD.png) no-repeat left 0;}
.tab a:hover.open {background: url(http://i.imgur.com/mboPc.png) no-repeat left -19px;}
.tab a:hover.close {background: url(http://i.imgur.com/xztqF.png) no-repeat left -19px;}
/* sliding panel */
#toppanel {
position: absolute; /*Panel will overlap content */
/*position: relative;*/ /*Panel will "push" the content down */
top: 0;
width: 100%;
z-index: 999;
text-align: center;
margin-left: auto;
margin-right: auto;
}
#panel {
width: 100%;
height: 210px;
color: #999999;
background: #272727;
overflow: hidden;
position: relative;
z-index: 3;
display: none;
}
#panel h1 {
font-size: 1.6em;
padding: 5px 0 10px;
margin: 0;
color: white;
}
#panel h2{
font-size: 1.2em;
padding: 10px 0 5px;
margin: 0;
color: white;
}
#panel p {
margin: 5px 0;
padding: 0;
}
#panel a {
text-decoration: none;
color: #15ADFF;
}
#panel a:hover {
color: white;
}
#panel a-lost-pwd {
display: block;
float: left;
}
#panel .content {
width: 960px;
margin: 0 auto;
padding-top: 15px;
text-align: left;
font-size: 0.85em;
}
#panel .content .left {
width: 280px;
float: left;
padding: 0 15px;
border-left: 1px solid #333;
}
#panel .content .right {
border-right: 1px solid #333;
}
#panel .content form {
margin: 0 0 10px 0;
}
#panel .content label {
float: left;
padding-top: 2px;
clear: both;
width: 280px;
display: block;
}
#panel .content input.field {
border: 1px #1A1A1A solid;
background: #414141;
margin-right: 5px;
margin-top: 4px;
width: 200px;
color: white;
height: 16px;
}
#panel .content input:focus.field {
background: #545454;
}
/* BUTTONS */
/* Login and Register buttons */
#panel .content input.bt_login,
#panel .content input.bt_register {
display: block;
float: left;
clear: left;
height: 24px;
text-align: center;
cursor: pointer;
border: none;
font-weight: bold;
margin: 10px 0;
}
#panel .content input.bt_login {
width: 74px;
background: transparent url(http://i.imgur.com/6E0rz.png) no-repeat 0 0;
}
#panel .content input.bt_register {
width: 94px;
color: white;
background: transparent url(http://i.imgur.com/sxtfY.png) no-repeat 0 0;
}
#panel .lost-pwd {
display: block;
float:left;
clear: right;
padding: 15px 5px 0;
font-size: 0.95em;
text-decoration: underline;
}
.main .tieude .page-title{color:#fff!important;background:#fff;opacity:0.8}
.main .tieude {
height: 28px;
padding: 6px;
border: 4px solid
#DAD3D3;
-webkit-box-shadow: 0 2px 2px -2px
rgba(0, 0, 0, .52);
font-size: 12px;
font-family: "lucida grande",tahoma,verdana,arial,sans-serif;
font-weight: 700;
background-color:
#DAD3D3;
color:
black;
}
.pun div, .pun td, .sig-line {
border-color: #
#DDD;
color: #
#DDD;
}
.main .tieude .page-title{padding: 5px;}.noidungthongbao{padding: 0px;height:27px!important}
a {
cursor: pointer;
color:
#3B5998;
text-decoration: none;
}
Placement : các bạn chọn In all the pages
- Code:
$(document).ready(function() {
// Expand Panel
$("#open").click(function(){
$("div#panel").slideDown("slow");
});
// Collapse Panel
$("#close").click(function(){
$("div#panel").slideUp("slow");
});
// Switch buttons from "Log In | Register" to "Close Panel" on click
$("#toggle a").click(function () {
$("#toggle a").toggle();
});
});
Thế là xong
Link gốc :
http://web-kreation.com/tutorials/nice-clean-sliding-login-panel-built-with-jquery/
hỏi đáp
Bạn ơi cho minh hỏi tí sao mình cho code vào overall_header sao không được vậy ? minh cung ko tim thấy đoạn code này nữa
<a id="top" name="top" accesskey="t"></a>
Re: [Code] Khung đăng nhập - đăng ký đóng mở ( trượt )[✔]
Thay
- Code:
<!-- BEGIN switch_user_logged_out -->
<div id="rep-mail-bar">
<div id="toppanel">
<div id="panel" style="display: none; ">
<div class="content clearfix">
<div class="left">
<h1>Welcome to Cntt-k3</h1>
<h2>Hãy đăng ký và Đăng nhập để tham gia diễn đàn</h2>
<p class="grey">Diễn đàn hiển thị tốt nhất trên <a href="http://www.mozilla.com/en-US/products/download.html?product=firefox-3.0.10&os=win&lang=en-US" onmouseover="showtip('Tải Firefox ..!');" onmouseout="hidetip();" target="_blank"><img src="http://www.c3zone.net/users/2611/10/63/87/album/ff10.png"></a> và <a href="http://www.google.com/chrome?hl=vi" onmouseover="showtip('Tải Google Chrome ..!');" onmouseout="hidetip();" target="_blank"><img src="http://www.c3zone.net/users/2611/10/63/87/album/gc10.png"></a><br>với độ phân giải 1024x768 trở lên. <br></p>
</div>
<div class="left">
<form action="/login?redirect=/" method="post" name="form_login" id="login-vds">
<h1 class="padlock">Đăng nhập</h1>
<label class="grey" for="log">Tài khoản:</label>
<input class="field" id="log" type="text" size="10" name="username">
<label class="grey" for="pwd">Mật khẩu:</label>
<input class="field" id="pwd" type="password" size="10" name="password">
<input id="bt_login" class="bt_login" type="submit" name="login" value="Đăng nhập">
<label><input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever"> Remember me</label>
<div class="clear"></div>
</form>
<script type="text/javascript">//<![CDATA[
$(function(){$('#login-vds').attr('action','/login?redirect='+this.location.pathname);});//]]></script>
</div>
<div class="left right">
<form action="/register?agreed=true&step=2" method="post">
<h1>Đăng ký nhanh !</h1>
<label class="grey" for="signup">Tên truy cập : *</label>
<input class="field" type="text" id="username_reg" name="username" value="" size="25" maxlength="25">
<label class="grey" for="email">Email:</label>
<input class="field" type="text" name="email" id="email" size="23">
<label class="grey" for="signup">Mật khẩu : *</label>
<input class="field" type="password" id="password_reg" name="password" value="" size="25" maxlength="25">
<input type="submit" name="submit" value="Đăng ký" class="bt_register">
</form>
</div>
</div>
</div> <!-- /login -->
<!-- The tab on top -->
<div class="tab">
<ul class="login">
<li class="left"> </li>
<li>Chào bạn!</li>
<li class="sep">|</li>
<li id="toggle">
<a id="open" class="open" href="#" style="display: block; ">Đăng nhập | Đăng ký</a>
<a id="close" style="display: none; " class="close" href="#">Close | Đóng lại</a>
</li>
<li class="right"> </li>
</ul>
</div> <!-- / top -->
</div>
<!-- END switch_user_logged_out -->
- Code:
<!-- BEGIN switch_user_logged_out -->
<div id="rep-mail-bar">
<div id="toppanel">
<div id="panel" style="display: none; ">
<div class="content clearfix">
<div class="left">
<h1>Welcome to Cntt-k3</h1>
<h2>Hãy đăng ký và Đăng nhập để tham gia diễn đàn</h2>
<p class="grey">Diễn đàn hiển thị tốt nhất trên <a href="http://www.mozilla.com/en-US/products/download.html?product=firefox-3.0.10&os=win&lang=en-US" onmouseover="showtip('Tải Firefox ..!');" onmouseout="hidetip();" target="_blank"><img src="http://www.c3zone.net/users/2611/10/63/87/album/ff10.png"></a> và <a href="http://www.google.com/chrome?hl=vi" onmouseover="showtip('Tải Google Chrome ..!');" onmouseout="hidetip();" target="_blank"><img src="http://www.c3zone.net/users/2611/10/63/87/album/gc10.png"></a><br>với độ phân giải 1024x768 trở lên. <br></p>
</div>
<div class="left">
<form action="/login?redirect=/" method="post" name="form_login" id="login-vds">
<h1 class="padlock">Đăng nhập</h1>
<label class="grey" for="log">Tài khoản:</label>
<input class="field" id="log" type="text" size="10" name="username">
<label class="grey" for="pwd">Mật khẩu:</label>
<input class="field" id="pwd" type="password" size="10" name="password">
<input id="bt_login" class="bt_login" type="submit" name="login" value="Đăng nhập">
<label><input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever"> Remember me</label>
<div class="clear"></div>
</form>
<script type="text/javascript">//<![CDATA[
$(function(){$('#login-vds').attr('action','/login?redirect='+this.location.pathname);});//]]></script>
</div>
<div class="left right">
<form action="/register?agreed=true&step=2" method="post">
<h1>Đăng ký nhanh !</h1>
<label class="grey" for="signup">Tên truy cập : *</label>
<input class="field" type="text" id="username_reg" name="username" value="" size="25" maxlength="25">
<label class="grey" for="email">Email:</label>
<input class="field" type="text" name="email" id="email" size="23">
<label class="grey" for="signup">Mật khẩu : *</label>
<input class="field" type="password" id="password_reg" name="password" value="" size="25" maxlength="25">
<input type="submit" name="submit" value="Đăng ký" class="bt_register">
</form>
</div>
</div>
</div> <!-- /login -->
<!-- The tab on top -->
<div class="tab">
<ul class="login">
<li class="left"> </li>
<li>Chào bạn!</li>
<li class="sep">|</li>
<li id="toggle">
<a id="open" class="open" href="" style="display: block; ">Đăng nhập | Đăng ký</a>
<a id="close" style="display: none; " class="close" href="">Close | Đóng lại</a>
</li>
<li class="right"> </li>
</ul>
</div> <!-- / top -->
</div>
<!-- END switch_user_logged_out -->
Re: [Code] Khung đăng nhập - đăng ký đóng mở ( trượt )[✔]
không làm được bạn ơi trang mình đây không hiệu lực được cái HTML bạn chỉ mình với:
http://dragonking.123.st/
http://dragonking.123.st/
Re: [Code] Khung đăng nhập - đăng ký đóng mở ( trượt )[✔]
Tại sao mình làm được rồi mà nó diễn đàn không kéo lên keo xuống được nhỉ chỉ khi đăng nhập rồi mói nhìn thấy diễn đàn
Re: [Code] Khung đăng nhập - đăng ký đóng mở ( trượt )[✔]
chèn vô die rum lun. Hết scroll được lun. Ai giúp tớ vs
Re: [Code] Khung đăng nhập - đăng ký đóng mở ( trượt )[✔]
mình cũng vậy. pro nào giúp vớiChoi Min Ki đã viết:chèn vô die rum lun. Hết scroll được lun. Ai giúp tớ vs
Re: [Code] Khung đăng nhập - đăng ký đóng mở ( trượt )[✔]
sao k0 pro pro nào giúp hết vậysahojden2100vn đã viết:mình cũng vậy. pro nào giúp vớiChoi Min Ki đã viết:chèn vô die rum lun. Hết scroll được lun. Ai giúp tớ vs
Re: [Code] Khung đăng nhập - đăng ký đóng mở ( trượt )[✔]
muốn người ta giúp thì quăng cái demo onl lên đây + acc testsahojden2100vn đã viết:sao k0 pro pro nào giúp hết vậysahojden2100vn đã viết:mình cũng vậy. pro nào giúp vớiChoi Min Ki đã viết:chèn vô die rum lun. Hết scroll được lun. Ai giúp tớ vs
Re: [Code] Khung đăng nhập - đăng ký đóng mở ( trượt )[✔]
http://game.ace.st/login help xài xong lăn xuống không được lun @@
Re: [Code] Khung đăng nhập - đăng ký đóng mở ( trượt )[✔]
vào css tìmTrilogy đã viết:http://game.ace.st/login help xài xong lăn xuống không được lun @@
- Code:
#rep-mail-bar {
font-size: 11px;
height: 25px;
left: 0;
position: fixed;
top: 0;
width: 100%;
z-index: 999;
}
Re: [Code] Khung đăng nhập - đăng ký đóng mở ( trượt )[✔]
àk mà e login đt zô del mấy code đó rồi. dù sao cũg thanks
Similar topics
» [Code] Khung đăng nhập có luôn đăng ký nhanh tiện lợi[✔]
» Xin Code CSS Khung Đăng Nhập
» Giúp sửa code khung đăng nhập
» [Code] Khung Info kèm đăng ký liên kết nhanh[✔]
» cho em xin code khung đăng nhập và menu như thế này
» Xin Code CSS Khung Đăng Nhập
» Giúp sửa code khung đăng nhập
» [Code] Khung Info kèm đăng ký liên kết nhanh[✔]
» cho em xin code khung đăng nhập và menu như thế này
Trang 1 trong tổng số 1 trang
Permissions in this forum:
Bạn không có quyền trả lời bài viết
|
|