Änderungen

Spring zu: Navigation, suche

MediaWiki:Common.js

41 Bytes hinzugefügt, 20:50, 28. Nov. 2011
keine Bearbeitungszusammenfassung
$(divisionHeader).append(expandabilityIndicator);
if($.cookie('sidebar-division-state-' + cookieName) == 'collapsed') {
$(this).addClass('collapsed').children('.division-header').siblings().hide();
} else {
if(wrapper.hasClass('collapsed')) {
var divisionLabel = $(this).children('strong').html();
var cookieName = divisionLabel.toLowerCase().replace(/(<([^>]+)>)/ig,"");
$(this).find('.expandability-indicator').fadeOut();
wrapper.removeClass('collapsed');
$.cookie('sidebar-division-state-' + cookieName, 'expended');
} else {
var divisionLabel = $(this).children('strong').html();
var cookieName = divisionLabel.toLowerCase().replace(/(<([^>]+)>)/ig,"")
$(this).find('.expandability-indicator').fadeIn();
wrapper.addClass('collapsed');
$.cookie('sidebar-division-state-' + cookieName, 'collapsed');
}
Anonymer Benutzer

Navigationsmenü