Đỉnh Cao
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Chúc các bạn vui vẻ
Vào đây để đánh giá và góp ý giúp cho diễn đàn ngày càng hoàn thiện hơn
Top posters
589 Posts - 62%
86 Posts - 9%
69 Posts - 7%
65 Posts - 7%
28 Posts - 3%
28 Posts - 3%
21 Posts - 2%
20 Posts - 2%
20 Posts - 2%
19 Posts - 2%
Top posting users this week
No user
Top posting users this month
No user

Go down
Boss
Boss
Nhà sáng lập
Nhà sáng lập
Bài viết Bài viết : 589
Xu Xu : 1350
Thích Thích : 82

[Share] Đóng mở danh mục Empty [Share] Đóng mở danh mục

4/4/2015, 2:56 pm
[Share] Đóng mở danh mục Avby9

File Name: Đóng mở danh mục
Tác giả: IPB
Phiên bản: PhpBB3/PunBB

Administration Panel → Modules → HTML & Javascript → Javascript codes management

Tích vào Homepage , Subforum

Code:
Code:
jQuery(document).ready(function(){var p=0,u='http://i73.servimg.com/u/f73/17/06/15/51/cat_mi11.png',v='http://i73.servimg.com/u/f73/17/06/15/51/cat_ma11.png';jQuery('#main .main .main-head').each(function(){jQuery(this).next().attr('id',p);jQuery(this).next().css('display',my_getcookie('cat-'+jQuery(this).next().attr('id')));jQuery(this).append('<img src="'+u+'" id="abrirf" style="float: right;margin-right: -1px;margin-top: -17px;"/>');jQuery(this).find('#abrirf').click(function(){var i=jQuery(this).closest('.main-head').next();if(i.css('display')=='none'){i.slideToggle();jQuery(this).attr('src',u);my_setcookie('cat-'+jQuery(this).closest('.main-head').next().attr('id'),'block',1,0)}else{i.slideToggle();jQuery(this).attr('src',v);my_setcookie('cat-'+jQuery(this).closest('.main-head').next().attr('id'),'none',1,0)}});p++})});
lilizanzhuang
lilizanzhuang
Thành viên chính thức
Thành viên chính thức
Bài viết Bài viết : 8
Xu Xu : 10
Thích Thích : 2

[Share] Đóng mở danh mục Empty Re: [Share] Đóng mở danh mục

14/10/2015, 11:40 pm
Cảm ơn bạn nhìu
Back to top
Permissions in this forum:
You cannot reply to topics in this forum