⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.91
Server IP:
157.245.101.34
Server:
Linux skvinfotech-website 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
skvinfotech.com
/
public
/
assets
/
_js
/
pages
/
View File Name :
be_ui_animations.js
/* * Document : be_ui_animations.js * Author : pixelcave * Description: Custom JS code used in Animations Page */ class pageAnimations { /* * Animation toggle functionality * */ static animationsToggle() { let animationClass, animationButton, currentSection; // On button click jQuery('.js-animation-section button').on('click', e => { animationButton = jQuery(e.currentTarget); animationClass = animationButton.data('animation-class'); currentSection = animationButton.parents('.js-animation-section'); // Update class preview jQuery('.js-animation-preview', currentSection).html(animationClass); // Update animation object classes jQuery('.js-animation-object', currentSection) .removeClass() .addClass('js-animation-object animated ' + animationClass); }); } /* * Init functionality * */ static init() { this.animationsToggle(); } } // Initialize when page loads jQuery(() => { pageAnimations.init(); });