$(document).ready(function() { $(".catchPhrase").html("\"\""); $("#indexH1").html("Boost your visibility on the web !"); $(".case-rec").html("\"\""); $(".case-ref").html("\"\""); $(".case-aud").html("\"\""); $(".case-com").html("\"\""); $(".case-mai").html("\"\""); $("input[name='login']").addClass("input"); $("input[name='password']").addClass("input"); $(".indexSpan2:first").addClass("mini-logo-idstat"); $("#sub-footer").children().each(function(){ $(this).hover(function(){ $(this).stop(); $(this).animate({marginLeft:'20px',marginRight:'20px'},"fast"); },function(){ $(this).stop(); $(this).animate({marginLeft:'10px',marginRight:'10px'},"fast"); })}); $("#mycarousel").jcarousel({ auto: 2, wrap: 'last' }); $('.panorama tr:odd').addClass('zebra'); // IE PNG Fix if (document.all && document.styleSheets && document.styleSheets[0] && document.styleSheets[0].addRule){ //document.styleSheets[0].addRule('*', 'behavior: url(js/iepngfix.htc)'); }else{ $("#menu li").children("a").before(" "); $("#menu li").children(".vert").css("opacity","0"); $("#menu li").hover(function() { $(this).children().stop(); $(this).children("span").stop().animate({opacity:1},200); },function() { $(this).children("span").stop().animate({opacity:0},200); }); /* SUPPRIME POUR CAUSE DE DECALAGE SUR FIREFOX $('#menu').cornerz({corners:"tl tr",background:"#434343"}); */ $('.indexSpan1').cornerz(); $('.indexSpan2').cornerz(); $('.green:first').cornerz({corners:"tl"}); $('.green2').cornerz({corners:"tr"}); $('.blue:last').cornerz({corners:"tr"}); $('#sub-menu2').cornerz({corners:"bl br"}); $("#accordion").accordion({active: true}); $("#accordion").children("a").append("\"\""); } });