All pastes #949654 Raw Edit

Etwas

public text v1 · immutable
·published 2008-03-19 23:09 UTC
rendered paste body
$$('ul.menu li .link').each(function(ff){
	ff.observe('mouseover', function(a)
	{
		var queue = Effect.Queues.get(ff.id);
		queue.each(function(e) { e.cancel() });	
		new Effect.Morph(ff,{duration: '0.6', style: 'background-color: #FF0000' ,queue: {position: 'end', scope: ff.identify(),limit: '2'} });
	});

	ff.observe('mouseout', function(b)
	{
		var queue = Effect.Queues.get(ff.id);
		queue.each(function(e) { e.cancel() });
		new Effect.Morph(ff,{duration: '0.2', style: 'background-color: #FFFFFF' ,queue: {position: 'end', scope: ff.identify(), limit: '2'} });
	});

	ff.observe('click', function(b)
	{
		ff.isActive=true;
		$$('ul.menu li .link').each(function(xf)
		{
			if(!xf.isActive)
			{
	//			xf.blindUp();
			};
		});
	});

																
										

});