Hi,
changing the
.hover to
.click won't work and will cause a Syntax error. Because click and hover doesn't have the same scheme.
The original code is this:
$('#vmCartModule').hover(
function(){
$('#product_list').stop(true, true).fadeIn(300);
$('#vmCartModule').stop(true, true).addClass('carthover');
},
function(){
$('#product_list').stop(true, true).delay(500).queue(function(next){
$(this).fadeOut(300);
$('#vmCartModule').removeClass('carthover');
next();
});
}
)
Replace it with this:
$('#vmCartModule').click(function() {
$('#product_list').fadeToggle('fast');
$(this).toggleClass('carthover');
});
And the dropdown will FadeIn when "clicked" and FadeOut when "re-clicked".
If you like DropDown Shopping Cart and satisfied with the support you have received, please "write a review" on:
www.flexiblewebdesign.com/Virtuemart-Modules/Virtuemart-DropDown-Shopping-Cart
Rate DropDown Shopping Cart and write a couple of sentences to share your experience with the support team. It won't take more than 2 minutes from you but it is
extremely important for us. Thanks in advance!
Regards,
Support