All pastes #428431 Raw Edit

Stuff

public text v1 · immutable
·published 2007-04-07 15:52 UTC
rendered paste body
Window.onDomReady(function() {
	var afxsAnchors = [];
	var aAnchors = $$("div#menu a");
	aAnchors.each((function fn(obj, i) {
		afxsAnchors[i] = new Fx.Styles(obj, {duration:200, wait:false});
		obj.addEvent("mouseover", function() {
			afxsAnchors[i].start({
				margin: [0,5],
				color: ["#262669","#000000"]
			});
		});
		obj.addEvent("mouseout", function() {
			afxsAnchors[i].start({
				margin: [5,0],
				color: ["#000000","#262669"]
			});
		});
	}
});