Oº°‘¨ [C]hia [S]ẻ [O]nline ¨‘°ºO
♥️Chào Mừng Các Bạn Ghé Thăm Forum Chia Sẻ Online♥️
Rất mong các bạn đăng ký làm thành viên để cùng
nhau chia sẻ mọi nỗi buồn vui
Chúc các bạn có những phút thư giãn vui vẻ
♥️Welcome to forum Chia Sẻ Online♥️
Oº°‘¨ [C]hia [S]ẻ [O]nline ¨‘°ºO
♥️Chào Mừng Các Bạn Ghé Thăm Forum Chia Sẻ Online♥️
Rất mong các bạn đăng ký làm thành viên để cùng
nhau chia sẻ mọi nỗi buồn vui
Chúc các bạn có những phút thư giãn vui vẻ
♥️Welcome to forum Chia Sẻ Online♥️
Welcome Guest, is this your first visit? Register
All times are GMT. The time now is 07:28 AM.

You are not connected. Please login or register

[Codes] Khung đăng nhập ẩn hiện

2 posters

Go down  Thông điệp [Trang 1 trong tổng số 1 trang]

1[Codes] Khung đăng nhập ẩn hiện	 Empty [Codes] Khung đăng nhập ẩn hiện Sun Feb 05, 2012 10:33 am

Admin

Admin
Administrators
Administrators

demo
[Codes] Khung đăng nhập ẩn hiện	 54553797
hd
Chèn Vô Cuối Header
Code:
<!-- BEGIN switch_user_logged_out -->
<div><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td align="left"><div class="guestwarn">

<form action="/login?redirect=/forum" method="post" name="form_login" class="loginform"><table class="c3z1" border="0" cellpadding="0" cellspacing="3"><tbody><tr><td onmouseover="showtip('<b>Nhập Tên và Mật khẩu để đăng nhập vào diễn đàn.</b>');" onmouseout="hidetip();"><input id="username" class="post" size="22" name="username" value="Tên đăng nhập" onblur="if(this.value=='') this.value='Tên đăng nhập';" onfocus="if(this.value=='Tên đăng nhập') this.value='';" type="text"></td><td nowrap="nowrap"><label><img src="http://www.c3zone.net/users/2611/10/63/87/album/rem10.png"><input class="radio" name="autologin" checked="checked" type="checkbox"></label></td></tr><tr><td onmouseover="showtip('<b>Nhập Tên và Mật khẩu để đăng nhập vào diễn đàn.</b>');" onmouseout="hidetip();"><input id="password" class="post" size="10" name="password" value="Password" onblur="if(this.value=='') this.value='Password';" onfocus="if(this.value=='Password') this.value='';" type="password"></td><td nowrap="nowrap"><input class="mainoption" name="login" value="Go!" type="submit"></td></tr></tbody></table></form>
<a href="#tip" class="close" onclick="closeBox('message-1'); return false;" onmouseover="showtip('Thu hẹp khung đăng nhập lại.')" onmouseout="hidetip()"></a>
</div><div class="amature" style="display:none;"><a href="#tip" class="dady" onmouseover="showtip('Mở rộng khung đăng nhập ra!')" onmouseout="hidetip()"><span class=" open"></span>
</a>

</div></td></tr></tbody></table></div>
  <!-- END switch_user_logged_out -->
CSS
Code:
.guestwarn, .amature {
  background:#000;
  color:#fff;
  max-width:280px;
  min-height:18px;
  padding:0 5px 3px;
  position:fixed;
  right: 2%;
  top: 50%;
  padding: 10px 15px;
  position: fixed;
  z-index: 10;
  font-size:12px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  filter:alpha(opacity=88);
  -moz-opacity:.88;
  opacity:.88;
  -moz-box-shadow:5px 5px 5px #191919;
  -webkit-box-shadow:5px 5px 5px #191919;
  box-shadow:5px 5px 5px #191919;
 
}
.close {
  float: right;
  background: transparent url(http://i1202.photobucket.com/albums/bb362/tnpu_ilusm/fancy_nav_right.png);
  width: 30px;
  height: 30px;
  position:fixed;
  right: 2%;
  top: 50%;
  position: fixed;
  z-index: 10;
  background-repeat:no-repeat;
}
.open {
  float: right;
  background: transparent url(http://i1202.photobucket.com/albums/bb362/tnpu_ilusm/fancy_nav_left.png);
  width: 30px;
  height: 30px;
  position:fixed;
  right: 2%;
  top: 50%;
  position: fixed;
  z-index: 10;
  background-repeat:no-repeat;
}
#password, #subject, #username {
padding : 1px 1px 1px 16px;
width : 100px;
}
#password {
background : #fff url(http://vnteen.co.cc/users/1113/13/44/26/avatars/gallery/pass1010.png)  no-repeat scroll left center;
}
#username {
background : #fff url(http://c3zone.net/users/2611/10/63/87/album/id10.png)  no-repeat scroll left center;
}
Tạo một HTML hoặc java với code
Code:
function hiendn(){
jQuery(".guestwarn").fadeOut("slow",function() {
    jQuery(".amature").fadeIn("slow");
 
})
};
function andn(){
jQuery(".amature").fadeOut("slow",function() {
    jQuery(".guestwarn").fadeIn("slow");
 
  });
};
 
jQuery(document).ready(function(){
jQuery(".close").click(function(){
hiendn();
});
jQuery(".dady").click(function(){
andn();
 
});
});
Dùng
Code:
<script src="link trang HTML vừa tạo" type="text/javascript"></script>
Chèn vô trên thẻ
Code:
</head>
trong header



Được sửa bởi Trà My ngày Tue Feb 14, 2012 7:44 pm; sửa lần 1.

https://chiaseonline.forumvi.com/

sue2

sue2
Thành Viên
Thành Viên

code đâu hết rùi

http://all4u.123.st

Admin

Admin
Administrators
Administrators

codes trên thây bạn?

https://chiaseonline.forumvi.com/

Sponsored content



Về Đầu Trang  Thông điệp [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