integration new theme standard
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8168 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -626,5 +626,26 @@ $(document).ready(function(){
|
||||
});
|
||||
ajaxCart.overrideButtonsInThePage();
|
||||
ajaxCart.refresh();
|
||||
|
||||
/* roll over cart */
|
||||
$("#shopping_cart").mouseover(function(){
|
||||
$("#cart_block").slideDown(450).addClass("cart_block_hover");
|
||||
});
|
||||
|
||||
$("#cart_block").mouseleave(function(){
|
||||
$("#cart_block").removeClass("cart_block_hover");
|
||||
if(!$("#cart_block").hasClass("cart_block_hover"))
|
||||
$("#cart_block").slideUp(450);
|
||||
});
|
||||
$("#header_logo").mouseover(function(){
|
||||
$("#cart_block").removeClass("cart_block_hover");
|
||||
if(!$("#cart_block").hasClass("cart_block_hover"))
|
||||
$("#cart_block").slideUp(450);
|
||||
});
|
||||
$("#messWelcome").mouseover(function(){
|
||||
$("#cart_block").removeClass("cart_block_hover");
|
||||
if(!$("#cart_block").hasClass("cart_block_hover"))
|
||||
$("#cart_block").slideUp(450);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -187,5 +187,10 @@ class BlockCart extends Module
|
||||
if ((int)(Configuration::get('PS_BLOCK_CART_AJAX')))
|
||||
$this->context->controller->addJS(($this->_path).'ajax-cart.js');
|
||||
}
|
||||
|
||||
public function hookTop($params)
|
||||
{
|
||||
return $this->hookRightColumn($params);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user