Skip to content

Instantly share code, notes, and snippets.

@ckahle33
Created April 9, 2014 18:24
Show Gist options
  • Save ckahle33/10299825 to your computer and use it in GitHub Desktop.
Save ckahle33/10299825 to your computer and use it in GitHub Desktop.
(function($){
$('.js-careerToggle').on('click', function() {
$(".careerbox").toggleClass("active");
if ($(".careerbox").hasClass("active")) {
$($(this).parent()).animate({height: '100%'}, 500);
} else {
$($(this).parent()).animate({height: '100px'}, 500);
}
});
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment