[-] 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 cart_block = new HoverWatcher('#cart_block');
|
||||||
var shopping_cart = new HoverWatcher('#shopping_cart');
|
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);
|
$("#header #cart_block").stop(true, true).slideDown(450);
|
||||||
},
|
},
|
||||||
function() {
|
function() {
|
||||||
setTimeout(function() {
|
$(this).css('border-radius', '3px');
|
||||||
if (!cart_block.isHoveringOver())
|
$("#header #cart_block").stop(true, true);
|
||||||
$("#header #cart_block").stop(true, true).slideUp(450);
|
if (!shopping_cart.isHoveringOver() && !cart_block.isHoveringOver())
|
||||||
}, 200);
|
$("#header #cart_block").slideUp(450);
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#cart_block").hover(function() {}, function(){
|
$("#cart_block").hover(function() {}, function(){
|
||||||
setTimeout(function() {
|
$("#header #cart_block").stop(true, true);
|
||||||
if (!shopping_cart.isHoveringOver())
|
if (!shopping_cart.isHoveringOver() && !cart_block.isHoveringOver())
|
||||||
$("#header #cart_block").stop(true, true).slideUp(450);
|
$("#header #cart_block").slideUp(450);
|
||||||
}, 200);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.delete_voucher').live('click', function() {
|
$('.delete_voucher').live('click', function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user