MediaWiki:Common.js

(Difference between revisions)
Jump to: navigation, search
Bogdan (Talk | contribs)
(Created page with "- Any JavaScript here will be loaded for all users on every page load.: if(mw.config.get('wgArticleId') == 1736) { $( document ).ready( function() { var sli = $("#photoGro...")
Newer edit →

Revision as of 03:51, 17 December 2012

/* Any JavaScript here will be loaded for all users on every page load. */
if(mw.config.get('wgArticleId') == 1736) {
$( document ).ready( function() {
	var sli = $("#photoGroups .holder ul")[0];
	    sli.parentNode.style.height = "200px";
	$("#photoGroups p").each(function(i) {
 	    	$(this).mouseenter(function() {
			$(sli).stop();
			$(sli).animate({marginTop:"-"+(200+i*200)+"px"});
		});
	});
})};
Personal tools
Navigation
societies
additional
Views
Namespaces
Variants
Toolbox
Actions