Jquery Toggle For Mybb

jquery Toggle for Mybb:

 

if you want a toggle content on mybb without conflict with others js library this is a good place for you 😀

 

 

1- we are talking about Mybb Collapsibles  .

2- First of all we have to insert this code on our theme headerinclude template (go to templates -> our Template -> Ungrouped Templates -> HeaderInclude Template )

insert this code:

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript" src="saluxjiras.php" /></script>
<script type="text/javascript">
<!--
 jQuery.noConflict();
jQuery(document).ready(function($){ 

 if(jQuery().fancyCollapses){
 $(".tborder tbody[id$='_e']").fancyCollapses({easing: "easeInOutQuart", speed: "normal"});
 }
});
 // -->
</script>

right after:

{$stylesheets}

 now upload this file on the main folder of mybb (forum Folder)

 

About Claudio Daniele

Claudio Daniele
Claudio Daniele, è Webmaster di "Saluxjiras.it", Blogger Freelance, articolista, amante del web e di tutto ciò che lo circonda. Nella vita, è uno studente universitario ed in rete Scrive soprattutto di Tecnologia, Social Media Marketing, Giochi e curiosità dal web.