User:Galaxy3301/common.js

setTimeout(function{switch($('#firstHeading').css('color')){	case "rgb(187, 102, 0)":		color="rgb(255, 139, 0)";		break;	case "rgb(0, 0, 0)":		color="#5bf";		break;	default:		color=$('#firstHeading').css('color'); } var i=1; function sweep{  setTimeout(function{ $('#mw-page-base').attr('style',"background-image:linear-gradient(to left,"+color+",#f6f6f6 "+i+"%)"); i++; if (i<=80){sweep} },10)} sweep},2500)