Difference between revisions of "MediaWiki:Doduco.js"
From Electrical Contacts
Doduco Admin (talk | contribs) |
Doduco Admin (talk | contribs) |
||
Line 1: | Line 1: | ||
− | jQuery( function ( $ ) { | + | mw.loader.using('jquery.ui.accordion', function () { |
− | + | jQuery(document).ready(function ($) { | |
+ | $('.accordion').accordion({ collapsible: true, active: false, header: ".accordion-header", height: "auto" }); | ||
+ | }); | ||
+ | //$('.accordion-header').css({'border':'0','background-color':'white'}) | ||
}) | }) |
Revision as of 13:02, 24 March 2014
mw.loader.using('jquery.ui.accordion', function () { jQuery(document).ready(function ($) { $('.accordion').accordion({ collapsible: true, active: false, header: ".accordion-header", height: "auto" }); }); //$('.accordion-header').css({'border':'0','background-color':'white'}) })