1. Add some styleseet in styles.css
#header-cart.skip-customactive { background: #FBFBFB; border: solid 1px #cccccc; position: absolute; z-index: 99999; top: 70px; right: 0; width: 320px; background: white; }//just after skip-active class
2.Add the jquery in /js/aw_ajaxcartpro/ajaxcartpro.js near line 855
just after :
enabled: false,
beforeFire: function(args){},
afterFire: function(args){},
beforeUpdate: function(args){},
afterUpdate: function(args){
jQuery('#header-cart').addClass('skip-customactive'); jQuery('#header-cart').css('opacity', 0).slideDown(600).animate({opacity:1},{queue:false,duration:'slow'}) var globalTimeout = null; if (globalTimeout != null) { clearTimeout(globalTimeout); } globalTimeout = setTimeout(function() { globalTimeout = null; jQuery('#header-cart').slideUp({duration: 'slow', queue: false}); jQuery('#header-cart').fadeOut('slow',function(){ jQuery('#header-cart').removeClass('skip-customactive'); jQuery('#header-cart').attr('style',''); }); }, 3000);
0 Comments