|
Accueil Description Curiosité Généralités Galeries Visite virtuelle Localisation E-carte Contact
|
$(function($){ $('div#entete').vegas({ delay: 4000, timer: false, shuffle: false, firstTransition: 'fade', firstTransitionDuration: 3000, transition: 'slideLeft2', transitionDuration: 2000, slides: [ { src: 'bandeau/PLANE.JPG' },{ src: 'bandeau/Pano_22.jpg' },{ src: 'bandeau/Pano_11.jpg' },{ src: 'bandeau/Pano_2.jpg' },{ src: 'bandeau/Pano 22.jpg' } ] });}) var largeur = $(window).width(); $(window).scroll( function () { if (($(this).scrollTop() > 20 )) { if (largeur > 601 ) { $('.sidebar').addClass("fixNavigation"); }else{ $('[class^="nav-button"]').addClass("fixNavigation1"); } } else { if (largeur > 601 ) { $('.sidebar').removeClass("fixNavigation"); }else{ $('[class^="nav-button"]').removeClass("fixNavigation1"); } } } );