Đưa Skin mới vào diễn đàn sử dụng ! Nếu quá trình sử dụng diễn đàn xảy ra lỗi, xin vui lòng liên hệ Admin để báo lỗi ! Cảm ơn !

You are not connected. Please login or register

hot hot hot Hình nền bài viết theo giới tính

  • Please log in to post a topic
  • zualuoi

    zualuoi
    zualuoi

    zualuoi

    Group: Member

    Hiện đang:
    Bài viết : 653
    Points : 1309
    Thanks : 510

    Member
    http://www.xaydungthanhhoa.com/

    Member
    Bài viết thứ :1

    Đăng vào:26/8/2012, 02:13

    Member
    dai thì thế lày, gái thì thế lày... cười ngoác miệng
    hot hot hot Hình nền bài viết theo giới tính Sin_ta37
    hai code cho vào JS và CSS
    [You must be registered and logged in to see this link.]

    tự hiểu huýt sáo

    #1 - Posted 26/8/2012, 02:13
    http://www.xaydungthanhhoa.com/
    Ruby

    Ruby
    Ruby

    Ruby

    Group: S.mod

    Hiện đang:
    Bài viết : 1244
    Points : 2669
    Birthday : 09/01/1990
    Thanks : 1029

    S.mod
    http://cntt-k3.biz

    S.mod
    Bài viết thứ :2

    Đăng vào:26/8/2012, 07:57

    S.mod
    Code:

    $(function() {
     
      //Indicate here the version of your forum.
      var version = "phpBB3";
     
      if(version.toLowerCase() == "phpbb2"){ 
          $(".postdetails img[title='Male']").closest('.postdetails').parent('td').next('td').addClass("fa_postbody_xy");
          $(".postdetails img[title='Female']").closest('.postdetails').parent('td').next('td').addClass("fa_postbody_xx");
      }else if(version.toLowerCase() == "phpbb3"){ 
          $(".postprofile img[title='Male']").closest('.postprofile').prev('.postbody').addClass("fa_postbody_xy");
          $(".postprofile img[title='Female']").closest('.postprofile').prev('.postbody').addClass("fa_postbody_xx"); 
      }else if(version.toLowerCase() == "punbb"){ 
          $(".user-info img[title='Male']").closest('.postmain').addClass("fa_postbody_xy");
          $(".user-info img[title='Female']").closest('.postmain').addClass("fa_postbody_xx"); 
      }else if(version.toLowerCase() == "invision"){       
          $(".postprofile img[title='Male']").closest('.post-container').addClass("fa_postbody_xy");
          $(".postprofile img[title='Female']").closest('.post-container').addClass("fa_postbody_xx");
      }
    });

    Tạo 1 file javascript cho hoạt động ở topic

    Code:

    .fa_postbody_xy{
      background: url("http://i45.servimg.com/u/f45/17/45/19/77/xy10.png");
    min-height: 500px;
    }
     
    .fa_postbody_xx {
      background: url("http://i45.servimg.com/u/f45/17/45/19/77/xx10.png");
    min-height: 500px;
    }

    Phang cái này vào css

    [You must be registered and logged in to see this link.] => Link hình con trai
    [You must be registered and logged in to see this link.] Hình con gái

    #2 - Posted 26/8/2012, 07:57
    http://cntt-k3.biz
    24h...CậuéC

    24h...CậuéC
    24h...CậuéC

    24h...CậuéC

    Group: Member

    Hiện đang:
    Bài viết : 789
    Points : 1026
    Thanks : 155
    Đến từ : Về nhà mà thể hiện

    Member

    Member
    Bài viết thứ :3

    Đăng vào:26/8/2012, 08:04

    Member
    * Title: ( những gì bạn muốn )
    * Placement: chọn (in the topics)
    * Javascript Code: chèn copy vào
    Code:

    $(function() {
     
      //Indicate here the version of your forum.
      var version = "phpBB3";
     
      if(version.toLowerCase() == "phpbb2"){ 
          $(".postdetails img[title='Male']").closest('.postdetails').parent('td').next('td').addClass("fa_postbody_xy");
          $(".postdetails img[title='Female']").closest('.postdetails').parent('td').next('td').addClass("fa_postbody_xx");
      }else if(version.toLowerCase() == "phpbb3"){ 
          $(".postprofile img[title='Male']").closest('.postprofile').prev('.postbody').addClass("fa_postbody_xy");
          $(".postprofile img[title='Female']").closest('.postprofile').prev('.postbody').addClass("fa_postbody_xx"); 
      }else if(version.toLowerCase() == "punbb"){ 
          $(".user-info img[title='Male']").closest('.postmain').addClass("fa_postbody_xy");
          $(".user-info img[title='Female']").closest('.postmain').addClass("fa_postbody_xx"); 
      }else if(version.toLowerCase() == "invision"){       
          $(".postprofile img[title='Male']").closest('.post-container').addClass("fa_postbody_xy");
          $(".postprofile img[title='Female']").closest('.post-container').addClass("fa_postbody_xx");
      }
    });

    thêm vào copy CSS:
    Code:

    .fa_postbody_xy{
      background: url("http://i45.servimg.com/u/f45/17/45/19/77/xy10.png");
    min-height: 500px;
    }
     
    .fa_postbody_xx {
      background: url("http://i45.servimg.com/u/f45/17/45/19/77/xx10.png");
    min-height: 500px;
    }

    #3 - Posted 26/8/2012, 08:04
    Ruby

    Ruby
    Ruby

    Ruby

    Group: S.mod

    Hiện đang:
    Bài viết : 1244
    Points : 2669
    Birthday : 09/01/1990
    Thanks : 1029

    S.mod
    http://cntt-k3.biz

    S.mod
    Bài viết thứ :4

    Đăng vào:26/8/2012, 08:06

    S.mod
    Uả mình post ở trên rồi mà post lại làm gì

    #4 - Posted 26/8/2012, 08:06
    http://cntt-k3.biz
    24h...CậuéC

    24h...CậuéC
    24h...CậuéC

    24h...CậuéC

    Group: Member

    Hiện đang:
    Bài viết : 789
    Points : 1026
    Thanks : 155
    Đến từ : Về nhà mà thể hiện

    Member

    Member
    Bài viết thứ :5

    Đăng vào:26/8/2012, 08:08

    Member
    tự nó mà hiểu rồi post nữa đi cười ngoác miệng thôi k post bài nữa cười nhăn răng

    #5 - Posted 26/8/2012, 08:08

    Sponsored content

    Sponsored content

    Group:
    Hiện đang:

    Bài viết thứ :6

    Đăng vào:

    #6 - Posted

    Đang kiểm tra dữ liệu...

    Bạn phải điền đầy đủ thông tin đăng ký.

    Số ký tự phải từ 3 trở lên
    Hãy chọn tài khoản khác
    Có thể dùng tài khoản này
    Không sử dụng địa chỉ này
    E-mail sẽ được kiểm sau
    Số ký tự phải từ 3 trở lên
    Trùng tên đăng nhập
    Chưa đúng
    Chính xác

    Free forum | ©phpBB | Free forum support | Báo cáo lạm dụng | Thảo luận mới nhất
    YOUR BANNER HERE
    728x90