Änderungen

Spring zu: Navigation, suche

MediaWiki:Common.js

69 Bytes entfernt, 20:10, 28. Nov. 2011
keine Bearbeitungszusammenfassung
(function($) {
$(function() { var max_height = 0; $('.slideshow > .wikiasidebar-gallerydivision').children().each(function() { if(! var divisionLabel = $(this).hasClasschildren('wikia.division-gallery-itemheader')) { $(this).removehtml(); } else { var elm_height cookieName = parseInt($(this)divisionLabel.height()); iftoLowerCase(elm_height > max_height) { max_height = elm_height; $(this).parentreplace().css/({height:max_height}); } } }); $<('.slideshow [^> .wikia-gallery']+).css({margin:0}).cycle('fade'>).children('span').css({padding:0}); }/ig,"");  $('.sidebar-division').each(function() { if($.cookie('sidebar-division-state'+ cookieName) == 'collapsed') {
$(this).addClass('collapsed').children('.division-header').siblings().hide();
}
if(wrapper.hasClass('collapsed')) {
var divisionLabel = $(this).html();
var cookieName = divisionLabel.toLowerCase().replace(/(<([^>]+)>)/ig,"");
$(this).siblings().slideDown('slow');
wrapper.removeClass('collapsed');
$.cookie('sidebar-division-state'+ cookieName, 'expended');
} else {
var divisionLabel = $(this).html();
var cookieName = divisionLabel.toLowerCase().replace(/(<([^>]+)>)/ig,"")
$(this).siblings().slideUp('slow');
wrapper.addClass('collapsed');
$.cookie('sidebar-division-state'+ cookieName, 'collapsed');
}
Anonymer Benutzer

Navigationsmenü