$(document).ready(function () { $(".article > h3").wrapInner(""); /* $("#sectionMain .article ul > li").each(function () { var ol = $(this).find("ol"); var ul = $(this).parent("ul"); ol.appendTo(ul); $(this).wrapInner(""); ol.appendTo($(this)); }) */ $("#ajaxSearch_input").focus(function () { $(this).val(""); }); $("#ajaxSearch_input").blur(function () { if($(this).val() == ""){ $(this).val("Rechercher"); } }); /*IE6 Png fix*/ if($.browser.msie && $.browser.version == 6){ DD_belatedPNG.fix('h1 a'); DD_belatedPNG.fix('#mainContent #wrapperMainContentA'); } $("#news li h4 a").hover(function (){ var h = $(this).parent().height(); $(this).next("strong").hide(); $(this).parent().height(h); $(this).parent().children("span").stop(true,true).animate({right:"-15px"}); $(this).next("strong").hide() }, function () { $(this).parent().children("span").stop(true,true) .animate({right:"-250px"}, 400, function() { if(!($.browser.msie)){ $(this).prev("strong").fadeIn(); }else{ $(this).prev("strong").show(); } }); }); });