Diễn đàn Trái Tim Yên Bái 2024

 Quên mật khẩu
 Đăng ký
Xem: 3028|Trả lời: 5
Thu gọn cột thông tin

[Mod Discuz] Tạo hiệu ứng Login đẹp

[Lấy địa chỉ]
  • Tâm trạng hàng ngày
    Suy ngẫm
    22-4-2024 05:18 PM
  • Đã viết: 4 ngày

    [LV.2]Spam 2

    Đăng lúc 14-1-2009 11:27 AM | Xem tất |Chế độ đọc

    Mời bạn đăng ký để giao lưu kết bạn nhé <3

    Bạn phải đăng nhập để xem được nội dung, nếu bạn chưa có tài khoản? hãy Đăng ký

    x

                                   
    Đăng nhập/Đăng ký mở rộng

    Mở 1. discuz.htm
    Search
    1.         <form id="loginform" method="post" name="login" action="logging.php?action=login&loginsubmit=true">
    2.                                 <input type="hidden" name="formhash" value="{FORMHASH}" />
    3.                                 <input type="hidden" name="cookietime" value="2592000" />
    4.                                 <input type="hidden" name="loginfield" value="username" />

    5.                               <input type="text" id="username"
    6. name="username" size="15" maxlength="40" tabindex="1" value="{lang
    7. username}" onclick="this.value = ''" />
    8.                         
    9.       <input type="password" id="password" name="password" size="10"
    10. tabindex="2" onkeypress="if((event.keyCode ? event.keyCode :
    11. event.charCode) == 13) $('loginform').submit()" />
    12.                                 <button name="userlogin" type="submit" value="true">{lang login}</button>
    13.                         </form>
    Sao chép mã
    Replaced by
    1. <form id="loginform" method="post" name="login" action="logging.php?action=login&loginsubmit=true">
    2.                                 <input type="hidden" name="formhash" value="{FORMHASH}" />
    3.                                 <input type="hidden" name="cookietime" value="2592000" />
    4.                                 <input type="hidden" name="loginfield" value="username" />

    5.               <input class="inputsearch"
    6. style="color:#fff;width:95px;height:13px;border:1px solid #d6d6d6;"
    7. type="text" id="username" name="username" size="15" maxlength="40"
    8. tabindex="1" onclick="this.value = ''" />
    9.                        
    10.         <input class="inputsearch"
    11. style="color:#fff;width:76px;height:13px;border:1px solid #d6d6d6;"
    12. type="password" id="password" name="password" size="10" tabindex="2"
    13. onkeypress="if((event.keyCode ? event.keyCode : event.charCode) == 13)
    14. $('loginform').submit()" />
    15.                                 <button name="userlogin" type="submit" value="true"></button>[code]#loginform * { vertical-align: middle; }
    16.         #loginform button { line-height: 21px; height: 21px; padding: 0 4px; margin-left: 3px; }
    17. </form>
    Sao chép mã
    Mở 2.css_common.htm  Add vào dưới cùng
    1. .inputsearch {padding-left: 2px; border: 1px solid #717D8E;
    2. color: #FFF; background: #fff url({IMGDIR}/load.gif) no-repeat;
    3. margin-top: 1px;}
    Sao chép mã
    Tìm
    1. #loginform * { vertical-align: middle; }
    2.         #loginform button { line-height: 21px; height: 21px; padding: 0 4px; margin-left: 3px; }
    Sao chép mã
    Thay bằng
    1. #loginform * { vertical-align: middle; }
    2.         #loginform button { margin-left: 3px;
    3.         background:#fff url({IMGDIR}/sbt.png);
    4.         height:19px; width:56px;
    5.         font-weight: bold;
    6.         font-size:16px;
    7.         color: #fff;
    8.         cursor: pointer;
    9.         border: 0px solid #ddd;
    10. }
    Sao chép mã
    .Upload images to images/default
    4.Update cache

    image.rar

    12.64 KB, Lượt tải về: 44

    Cảm ơn

    Số người tham gia 3Danh vọng +29 Tiền +22 Thu lại Lý do
    sonblack + 4
    nnutytc1 + 10 + 10
    HoangNhatLong + 15 + 12 Hay

    Xem tất cả

    Đăng lúc 5-8-2009 12:38 AM | Xem tất
    Hic, không cho cái demo àh................
    Đăng lúc 5-8-2009 07:23 PM | Xem tất
    eo`...thì cứ vào làm thử rùi biết cần gì demo bạn hè....tét thử ở localhost rùi hãy đưa lên...thanks for share
    Đăng lúc 31-1-2010 03:52 PM | Xem tất
    eo`...thì cứ vào làm thử rùi biết cần gì demo bạn hè....tét thử ở localhost rùi hãy đưa lên...thanks for share
    Đăng lúc 16-3-2010 10:01 PM | Xem tất
    Cảm ơn nhé
    rất hữu ích ^^
    Đăng lúc 7-10-2010 12:01 AM | Xem tất
    không có view demo nhi? thế này ko biết phải thanks thế nào.
    Bạn phải đăng nhập mới được đăng bài Đăng nhập | Đăng ký

    Quy tắc điểm

    Đóng

    Thông báoTrước /1 Sau

    Phòng tối|Lưu trữ|Diễn đàn Yên Bái 2024 Community Guidelines |

    GMT+7, 6-12-2026 08:49 AM , Processed in 0.026171 second(s), 22 queries .

    Powered by Discuz! X3.4

    © 2001-2013 Comsenz Inc.

    Trả lời nhanh Lên trên Trở lại danh sách