[-] MO : Fixed Blockcart jump effect on hover
This commit is contained in:
@@ -671,21 +671,21 @@ $(document).ready(function(){
|
||||
var cart_block = new HoverWatcher('#cart_block');
|
||||
var shopping_cart = new HoverWatcher('#shopping_cart');
|
||||
|
||||
$("#shopping_cart").hover(function(){
|
||||
$("#shopping_cart a:first").hover(function(){
|
||||
$(this).css('border-radius', '3px 3px 0px 0px');
|
||||
$("#header #cart_block").stop(true, true).slideDown(450);
|
||||
},
|
||||
function() {
|
||||
setTimeout(function() {
|
||||
if (!cart_block.isHoveringOver())
|
||||
$("#header #cart_block").stop(true, true).slideUp(450);
|
||||
}, 200);
|
||||
$(this).css('border-radius', '3px');
|
||||
$("#header #cart_block").stop(true, true);
|
||||
if (!shopping_cart.isHoveringOver() && !cart_block.isHoveringOver())
|
||||
$("#header #cart_block").slideUp(450);
|
||||
});
|
||||
|
||||
$("#cart_block").hover(function() {}, function(){
|
||||
setTimeout(function() {
|
||||
if (!shopping_cart.isHoveringOver())
|
||||
$("#header #cart_block").stop(true, true).slideUp(450);
|
||||
}, 200);
|
||||
$("#header #cart_block").stop(true, true);
|
||||
if (!shopping_cart.isHoveringOver() && !cart_block.isHoveringOver())
|
||||
$("#header #cart_block").slideUp(450);
|
||||
});
|
||||
|
||||
$('.delete_voucher').live('click', function() {
|
||||
|
||||
Reference in New Issue
Block a user