File: //proc/self/root/usr/local/CyberCP/public/static/baseTemplate/assets/widgets/animation/animation.js
$(document).ready(function(){
/* jQuery Animation */
$(function(){
$('.animation-toggle').click(function(){
var animationEFFECT = $(this).attr('data-animation');
var animationTARGET = $(this).attr('data-animation-target');
$(animationTARGET).addClass('animated');
$(animationTARGET).addClass(animationEFFECT);
$(animationTARGET).removeClass('hide');
var wait = window.setTimeout( function(){
$(animationTARGET).removeClass('animated');
$(animationTARGET).removeClass(animationEFFECT);
$(animationTARGET).addClass('hide')},
1300
);
});
});
/* Photo Gallery hover */
$('.thumbnail-box').hover(function(){
$('.thumbnail-overlay', this).fadeIn('fast');
$('.thumbnail-content', this).slideDown('fast');
},
function(){
$('.thumbnail-overlay', this).fadeOut('fast');
$('.thumbnail-content', this).slideUp('fast');
});
});