[Codes] Nút ẩn - hiện F6840c11

Trang ChínhTrang Chính   Shop  GalleryGallery  Latest imagesLatest images  Tìm kiếmTìm kiếm  Đăng kýĐăng ký  Đăng NhậpĐăng Nhập  
Chào bạn, khách viếng thăm !
Đăng Ký
:: Quên mật khẩu ::



Trang 1 trong tổng số 1 trang
Share|

[Codes] Nút ẩn - hiện

Xem chủ đề cũ hơn Xem chủ đề mới hơn [Codes] Nút ẩn - hiện Collap12[Codes] Nút ẩn - hiện Collap13
Admin
Admin
Thông tin thành viên :
Click !
Nam
Tuổi : 33
Posts Posts : 2319
Points Points : 6889
Thanked Thanked : 77
Join date10/12/2010
Birthday Birthday : 27/02/1991
Đến từ Đến từ : Hải Phòng
I'm I'm : 26
Status : DarkNo1<=> ClubTeen9x
avatar-dulieu : 57,13100|50,11784|49,10840|64,12636|51,11465|48,12265|58,12156|66,11440
Nam Tuổi : 33
Posts Posts : 2319
Points Points : 6889
Thanked Thanked : 77
Join date10/12/2010
Birthday Birthday : 27/02/1991
Đến từ Đến từ : Hải Phòng
I'm I'm : 26
Status : DarkNo1<=> ClubTeen9x
avatar-dulieu : 57,13100|50,11784|49,10840|64,12636|51,11465|48,12265|58,12156|66,11440
   

Shop Avatar
Bài gửiTiêu đề: [Codes] Nút ẩn - hiện [Codes] Nút ẩn - hiện I_icon_minitimeMon Oct 10, 2011 10:08 am

DarkNo1<=> ClubTeen9x
Tiêu đề: [Codes] Nút ẩn - hiện
---------------------------------------------------
Cho Ðiểm Chủ Ðề Này

:c: Có những nội dung nhiều quá, chiếm rất nhiều chỗ
để khắc phục tình trạng ni, ta có thể dùng đọan codes sau
để ẩn đi những thông tin đó.
click vào nút thì sẽ xem được phần nội dung.

:c: demo:
Spoiler:
nút xem thông tin của thành viên trong phần bài viết.


:c: codes:
Spoiler:
Code:Chọn nội dung
<div style="margin:20px; margin-top:5px"><div style="font:
12px Verdana, Geneva, Lucida, 'Lucida Grande';
margin-bottom:2px"><b></b> <input type="button"
value="Xem thông tin"
style="width:140px;font-size:14px;margin:0px;padding:0px;" onclick="if
(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display
 != '') {
this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display
 = '';        this.innerText = ''; this.value = 'Ẩn thông tin'; } else {
 
this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display
 = 'none'; this.innerText = ''; this.value = 'Xem lại thông tin'; }"
/></div><div style="min-height: 0px; max-width: 160px;
background-color: transparent; margin: 0px; padding: 0px; border: 0px
inset;"><div style="display: none;">
NỘI DUNG MUỐN ẨN</div></div></div>


:c: hướng dẫn:
muốn nó nằm ở đâu thì nhét nó vô đó.
chỉ cần ở đó HTML có là được.
ví dụ:

1. ẩn các mục trong box ngoài index
Spoiler:

- vô nhà 4ALL: [You must be registered and logged in to see this link.]
ngay index, dưới chuyên mục Văn thơ
có mục Mỗi ngày một chuyện cười
và nút Click Xem! và Ẩn
bấm vào đó là "lòi" ra 1 mẫu chuyện cười.
rứa đó.

2. ẩn thông tin Mem trong profiles
Spoiler:

- ACP> Display> Templates> QLTT> Viewtopic-body
- tìm và thay
Code:Chọn nội dung
<!-- BEGIN profile_field -->
                    {postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
            <!-- END profile_field -->


bằng:
Code:Chọn nội dung
 <div style="margin:20px; margin-top:5px"><div style="font:
12px Verdana, Geneva, Lucida, 'Lucida Grande';
margin-bottom:2px"><b></b> <input type="button"
value="Xem thông tin"
style="width:140px;font-size:14px;margin:0px;padding:0px;" onclick="if
(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display
 != '') {
this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display
 = '';        this.innerText = ''; this.value = 'Ẩn thông tin'; } else {
 
this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display
 = 'none'; this.innerText = ''; this.value = 'Xem lại thông tin'; }"
/></div><div style="min-height: 0px; max-width: 160px;
background-color: transparent; margin: 0px; padding: 0px; border: 0px
inset;"><div style="display: none;">
            <!-- BEGIN profile_field -->
                    {postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
            <!-- END profile_field -->

- bấm save rùi [Codes] Nút ẩn - hiện 2044517703




Tài sản: Admin

Tài sản
.: [Codes] Nút ẩn - hiện Thdhbc [Codes] Nút ẩn - hiện Thdhbg [Codes] Nút ẩn - hiện Theagle_medal_50x50 [Codes] Nút ẩn - hiện Thhuanchuong3 [Codes] Nút ẩn - hiện Thhuanchuong4 [Codes] Nút ẩn - hiện Thhuanchuong5 [Codes] Nút ẩn - hiện Thmedal271 [Codes] Nút ẩn - hiện Thknst [Codes] Nút ẩn - hiện Thmedal2 [Codes] Nút ẩn - hiện Thmedal7 [Codes] Nút ẩn - hiện Thmedal121 [Codes] Nút ẩn - hiện Thmedal27 [Codes] Nút ẩn - hiện Thmedal241 [Codes] Nút ẩn - hiện Thmedal21 [Codes] Nút ẩn - hiện Thmedal-10 [Codes] Nút ẩn - hiện Medal1152 [Codes] Nút ẩn - hiện Medal1012 [Codes] Nút ẩn - hiện Medal145 [Codes] Nút ẩn - hiện Medal101jg6 [Codes] Nút ẩn - hiện Medal81kl2 [Codes] Nút ẩn - hiện Medal61qo1 [Codes] Nút ẩn - hiện Medal51wb6 [Codes] Nút ẩn - hiện Medal51 [Codes] Nút ẩn - hiện Medal41 [Codes] Nút ẩn - hiện Medal31cj0 [Codes] Nút ẩn - hiện Medal24 [Codes] Nút ẩn - hiện Medal22 [Codes] Nút ẩn - hiện Medal21 [Codes] Nút ẩn - hiện Medal20 [Codes] Nút ẩn - hiện Medal18 [Codes] Nút ẩn - hiện Medal17 [Codes] Nút ẩn - hiện Medal16 [Codes] Nút ẩn - hiện Medal15 [Codes] Nút ẩn - hiện Medal14 [Codes] Nút ẩn - hiện Medal13 [Codes] Nút ẩn - hiện Medal12 [Codes] Nút ẩn - hiện Medal11ai9 [Codes] Nút ẩn - hiện Medal11 [Codes] Nút ẩn - hiện Medal10 [Codes] Nút ẩn - hiện Medal9 [Codes] Nút ẩn - hiện Medal81 [Codes] Nút ẩn - hiện Medal7 [Codes] Nút ẩn - hiện Medal6 [Codes] Nút ẩn - hiện Medal5 [Codes] Nút ẩn - hiện Medal4 [Codes] Nút ẩn - hiện 13
Danh vọng Danh vọng:
[Codes] Nút ẩn - hiện Img_le10100/100[Codes] Nút ẩn - hiện Img_ba10  (100/100)
Sinh lực Sinh lực:
[Codes] Nút ẩn - hiện Img_le10-1100/100[Codes] Nút ẩn - hiện Img_ba10  (100/100)
Chữ Ký: Admin
Về Đầu Trang
Go down

Chia sẻ
Add to Tagvn  Add to Linkhay  Add to TrumSEO  Add to Sig  Add to VietKick  Add to Buzz  Add to Google Buzz  Add to Facebook    

¨‘°ºO(¯°•. Xem tiếp 1 số bài viết cùng chuyên mục!.•°¯)Oº°‘¨

[Codes] Nút ẩn - hiện Collap10[Codes] Nút ẩn - hiện Collap13
Bài gửiTác giảTrả lờiLượt xemNgười gửi cuối


Trang 1 trong tổng số 1 trang

[Codes] Nút ẩn - hiện

Xem chủ đề cũ hơn Xem chủ đề mới hơn Về Đầu Trang

Trả lời nhanh

[Codes] Nút ẩn - hiện Collap10[Codes] Nút ẩn - hiện Collap13
-Khách viếng thăm vui lòng đăng nhập để có thể trả lời bài viết!
-Quyền hạn trong chuyên mục:
Bạn không có quyền gửi chủ đề mới
Bạn không có quyền sửa bài viết của mình
Bạn không có quyền trả lời bài viết

  » Yêu cầu viết bài bằng tiếng việt có dấu!
  » Không spam, đăng ảnh đồi truỵ hay sử dụng từ ngữ vô văn hoá!
  » Không gây xích mích, vui lòng tôn trọng thành viên khác!
  
  
Liên hê với chúng tôi | Http://ClubTeen9x.net |Trên lên trên
Diễn đàn sáng lập bởi: Mr.Ben
Diễn đàn phát triển bởi: Toàn bộ thành viên diễn đàn
Ðịa chỉ Mạng: ClubTeen9x.net
Ðiện thoại: 01228397557 - Email: nhocpro_clubteen9x@yahoo.com
Website Http://ClubTeen9x.net
Skin rip By Việt K
Powered by phpBB2® Version 2.0
Copyright © 2011, FORUMOTION - ClubTeen9x.net
Support by Forumotion. Diễn đàn hiển thị tốt nhất trên
với độ phân giải 1024x768 trở lên.

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