User:Year2000Prob/monobook.js: Difference between revisions

Content deleted Content added
mNo edit summary
mNo edit summary
Line 109:
$(this).parent().find("div.pBody").slideToggle("slow");
}).parent().find("div.pBody").css("border-left", "none").hide();
});
function rcUpdate() {$("#bodyContent ul.special").html("<li>Updating...</li>").load(wgScript + "?title=Special:Recentchanges #bodyContent ul.special li")};
if (/^Special\:Recent[Cc]hanges$/.test(wgPageName)) window.setInterval(rcUpdate, 15000function(); {
$("#bodyContent ul.special").dblclick(functionhtml("<li>Updating...</li>").load(wgScript {+ "?title=Special:Recentchanges #bodyContent ul.special li")
}, 15000);
window.clearInterval(rcUpdate);
rcUpdate();
window.setInterval(rcUpdate, 15000);
});
 
// I hope this works with Shadowbox