Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.js: Difference between revisions

MediaWiki interface page
m +autostart=true
No edit summary
Line 488: Line 488:
$(infoboxFlicker.init);
$(infoboxFlicker.init);
// End test chamber infobox flicker
// End test chamber infobox flicker
// Start OldAperture infobox hover code
oldApertureInfobox = {
mouseIn: function() {
$(this).find('img').attr('src', $(this).attr('src').replace('Inactive.png', 'Active.png'));
},
mouseOut: function() {
if(!$(this).hasClass('old-aperture-location-active')) {
$(this).find('img').attr('src', $(this).attr('src').replace('Active.png', 'Inactive.png'));
}
},
init: function() {
$('.old-aperture-location').hover(oldApertureInfobox.mouseIn, oldApertureInfobox.mouseOut);
}
};
$(oldApertureInfobox.init);
// End OldAperture infobox hover code


// Collapsible lemons (diffs actually)
// Collapsible lemons (diffs actually)