���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/admin.adimi/layout/bootstrap4/global_assets/js/demo_pages/ |
/* ------------------------------------------------------------------------------ * * # Floating action buttons * * Demo JS code for extra_fab.html page * * ---------------------------------------------------------------------------- */ // Setup module // ------------------------------ var FloatingActionButton = function() { // // Setup module components // // FAB var _componentFab = function() { if (!$().stick_in_parent) { console.warn('Warning - sticky.min.js is not loaded.'); return; } // Add bottom spacing if reached bottom, // to avoid footer overlapping // ------------------------- $(window).on('scroll', function() { if($(window).scrollTop() + $(window).height() > $(document).height() - 40) { $('.fab-menu-bottom-left, .fab-menu-bottom-right').addClass('reached-bottom'); } else { $('.fab-menu-bottom-left, .fab-menu-bottom-right').removeClass('reached-bottom'); } }); // Initialize sticky button $('#fab-menu-affixed-demo-left, #fab-menu-affixed-demo-right').stick_in_parent({ offset_top: 20 }); }; // // Return objects assigned to module // return { init: function() { _componentFab(); } } }(); // Initialize module // ------------------------------ document.addEventListener('DOMContentLoaded', function() { FloatingActionButton.init(); });