Coding-Spot

You are not connected. Please login or register

 
 

Category Toggle

Message (Page 1 of 1)


 
Advance Member

Posted on Fri May 31, 2013 2:04 pm

 
i need a working category togle like this one
as this forum have fully matched..
i need them...
and the problem is with the Rideem
at that forumotion for PunBB won't work e.e
anyways
i mean Mark can you share what are you using to make this forum toggle?



View user profile



 
Administrator
Administrator

Posted on Fri May 31, 2013 2:41 pm

 
PunBB:
Code:
jQuery(document).ready(function(){var p=0,u='http://i81.servimg.com/u/f81/17/45/75/97/cat_mi10.png',v='http://i81.servimg.com/u/f81/17/45/75/97/cat_ma10.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++})});

Just change this images if you want to:
- https://i81.servimg.com/u/f81/17/45/75/97/cat_mi10.png
- https://i81.servimg.com/u/f81/17/45/75/97/cat_ma10.png



View user profile http://coding-spot.darkbb.com



 
Advance Member

Posted on Fri May 31, 2013 2:43 pm

 
Thanks God I Need Them :D
/Request To Be Solved + Locked



View user profile



 
Administrator
Administrator

Posted on Fri May 31, 2013 2:45 pm

 
Since the problem is now solved i will locked this and move to archive section. ~Locked and Moved Happy



View user profile http://coding-spot.darkbb.com


#5

Sponsored content


 

Posted Today at 11:48 am

 





Message (Page 1 of 1)

Permissions in this forum:
You cannot reply to topics in this forum

In total there is 0 user online :: 0 Registered, 0 Hidden and 0 Guests

Users browsing this forum: None