View source for MediaWiki:Common.js
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
$(document).ready(function(){
$('span.hover-link').hover(function(e){
var classes = $(this).attr("class").split(/\s+/);
$(this).toggleClass("hover");
console.log(classes);
for (var i=0; i<classes.length; i++)
{
if (classes[i].indexOf("link-") != -1)
{
$("span."+classes[i]).toggleClass("hover");
}
}
});
});
000
1:0
Return to MediaWiki:Common.js.