first commit

This commit is contained in:
Olu Amey
2021-10-09 21:59:14 -04:00
commit 2e1a4017c3
6336 changed files with 864678 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
/* ------------------------------------------------------------------------------
*
* # CSS animations
*
* Specific JS code additions for components_animations.html page
*
* Version: 1.0
* Latest update: Aug 1, 2015
*
* ---------------------------------------------------------------------------- */
$(function() {
// Toggle animations
$("body").on("click", ".animation", function (e) {
// Get animation class from "data" attribute
var animation = $(this).data("animation");
// Apply animation once per click
$(this).parents(".panel").addClass("animated " + animation).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend", function () {
$(this).removeClass("animated " + animation);
});
e.preventDefault();
});
});