Difference between revisions of "MediaWiki:Doduco.js"

From Electrical Contacts
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
mw.loader.using('jquery.ui.accordion', function () {
 
mw.loader.using('jquery.ui.accordion', function () {
 
   jQuery(document).ready(function ($) {
 
   jQuery(document).ready(function ($) {
     $('.accordion').accordion({ collapsible: true, active: false, header: ".accordion-header", height: "auto" });
+
     $('.accordion').accordion({ heightStyle: "content", collapsible: true, header: ".accordion-header", active: -1, autoHeight: false });
   });
+
   });  
    //$('.accordion-header').css({'border':'0','background-color':'white'})
 
 
})
 
})

Latest revision as of 13:23, 13 May 2014

mw.loader.using('jquery.ui.accordion', function () {
  jQuery(document).ready(function ($) {
    $('.accordion').accordion({  heightStyle: "content", collapsible: true, header: ".accordion-header",  active: -1, autoHeight: false });
  });   
})