Bureaucrats, coding, Administrators
2,634
edits
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) |