Bonjour,
Je crois avoir trouvé la bonne partie du code :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| else if(animation === "ajax_fade"){
$j('header.page_header.ajax_header_animation .drop_down > ul > li').mouseout(); // remove hover event from menu elements
$j('header.page_header.ajax_header_animation').stop().fadeTo(animationTime, 1);
newContent.css({visibility: 'visible', display:'none'}).stop().fadeTo(animationTime, 1, function(){
initElementsAnimation();
initFullScreenTemplate();
initPortfolioSingleInfo();
initTitleAreaAnimation();
initSmallImageBlogHeight();
$j('.blog_holder.masonry').isotope( 'layout');
$j('.blog_holder.masonry_full_width').isotope( 'layout');
$j('.q_masonry_blog').isotope( 'layout');
$j('.content').css('min-height',$j(window).height()-$j('header.page_header').height()-$j('footer:not(.uncover)').height()); // min height for content to cover side menu bar
if($j('nav.content_menu').length > 0){
content_menu_position = $j('nav.content_menu').offset().top;
contentMenuPosition();
}
initParallax(); //has to be here on last place since some function is interfering with parallax
callCallback(callbacks,"oncomplete", null, []);
$j(document).trigger( "qodeAjaxPageLoad");
}); |
Si je rajoute cette ligne de code :
$j(".gauche,.droite").css("top",$j(".header").offset().top+$j(".header").height()+10);
juste avant la ligne
$j(document).trigger( "qodeAjaxPageLoad");
par exemple, le problème du chargement est résolu mais il manque l'effet fade ! Tout le reste bénificie du fade sauf mes boutons, pourquoi ? Le code n'est pas à la bonne place ?
Partager