Welcome to Alcove, Big Bar, and Alcove Chocolate


Welcome to Alcove, Big Bar, and Alcove Chocolate a’) .css( {backgroundPosition: “0px -70px”} ) .mouseover(function(){ $(this).stop().animate({backgroundPosition:”(0px 0px)”}, {duration: 500}) }); $(‘li.nav’).mouseout(function(){ if(!$(‘ul.drop’).is(“:hover”)){ $(this).find(‘a’).stop().animate({backgroundPosition:”(0px -70px)”}, {duration: 500, complete:function(){ $(this).css({backgroundPosition: “0 -70px”}) }}); } }); $(‘ul.drop’).mouseout(function(){ // $(this).closest(‘.nav’).find(‘a’).animate({backgroundPosition:”(0px -70px)”}, {duration: 500, complete:function(){ // $(this).css({backgroundPosition: “0 -70px”}) // }}) }); $(‘body’).on(‘click’, ‘.close-nag’, function(e){ e.preventDefault(); $.get(‘/subscribers/dontbother’); $(‘#nag-blackout’).remove(); }); $(‘body’).on(‘submit’, ‘#SubscriberSignupForm’, function(e){ e.preventDefault(); url = $(this).attr(‘action’); $.post( url, $(this).serialize(), function(response){ $(‘#nag-blackout’).html(response); }); }); // $(‘body’).on(‘click’, ‘.show-event-form’, function(e){ // e.preventDefault(); // $(‘#event-form’).show(); // }); // $(‘body’).on(‘click’, ‘.hide-event-form’, function(e){ // e.preventDefault(); // $(‘#event-form’).hide(); // }); }); ]]>

Source

Leave a Comment

Your email address will not be published. Required fields are marked *