Created
December 20, 2012 00:17
-
-
Save rdallaire/4341962 to your computer and use it in GitHub Desktop.
Quick Cart Drop Down Fixed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Quick Cart | |
// TOGGLE CART TRAY FUNCTIONALITY | |
$('#top-info').on('click', '#cart-preview', function() { | |
if ($('#cart').hasClass('activated')) { | |
$('#cart').stop().removeClass('activated').slideUp('fast'); | |
} else { | |
$('#cart').stop().addClass('activated').slideDown('fast'); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment