function menuHoverOver(){ f_putScreen(true); $(this).find("a.menu").css({'background':'url('+menuHoverBGImage+')'}); $(this).find("a.active").css({'background':'url('+menuHoverBGImage+')'}); $(this).find("a.menu").css({'border-left':'1px solid #333333'}); $(this).find(".menuItems").stop().fadeTo('fast', 0.85).show(); (function($) { jQuery.fn.calcSubWidth = function() { rowWidth = 0; $(this).find("ul").each(function() { rowWidth += $(this).width(); rowWidth = 955;});};})(jQuery); if ( $(this).find(".row").length > 0 ) { var biggestRow = 0; $(this).find(".row").each(function() { $(this).calcSubWidth(); if(rowWidth > biggestRow) { biggestRow = rowWidth;}
}); $(this).find(".menuItems").css({'width' :biggestRow}); $(this).find(".row:last").css({'margin':'0'});} else { $(this).calcSubWidth(); $(this).find(".menuItems").css({'width' : rowWidth});}
$(this).find(".menuItems#menuItems1").css({'left' : -137}); $(this).find(".menuItems#menuItems2").css({'left' : -255}); $(this).find(".menuItems#menuItems3").css({'left' : -405}); $(this).find(".menuItems#menuItems4").css({'left' : -523}); $(this).find(".menuItems#menuItems5").css({'left' : -641}); $(this).find(".menuItems#menuItems6").css({'left' : -759}); $(this).find(".menuItems#menuItems7").css({'left' : -877});}
function menuHoverOut(){ $(this).find(".menuItems").stop().fadeTo('fast', 0, function() { $(this).hide();}); $(this).find("a.menu").css({'background':'url('+menuBGImage+')'}); $(this).find("a.active").css({'background':'url('+menuActiveBGImage+')'}); $(this).find("a.menu").css({'border-left':'1px solid #056F99'}); $(this).find("a.active").css({'border-left':'1px solid #254E64'}); $(this).find("a#Home").css({'border-left':'none'}); f_putScreen(false);}
