// Drop Menu Layout CSS and Jquery code by Mary Lou at http://tympanus.net/codrops/author/crnacura/
$(function() {
$('#navigation a').hide().each(function(){ //added .hide() to hide the menu untill its all loaded. -matt
$(this).stop().animate({'opacity':'0.8', //opacity added to fix hover issue -matt
'marginTop':'-80px'
});
}).fadeIn('slow'); //added in .fadeIn('slow') to have a smooth fade-in when the page loads -matt
$('#navigation > li').hover(
function () {
$('a',$(this)).stop().animate({'opacity':'0.8', //opacity added to fix hover issue -matt
'marginTop':'-2px'
});
},
function () {
$('a',$(this)).stop().animate({'opacity':'0.8', //opacity added to fix hover issue -matt
'marginTop':'-80px'
});
}
);
});
