HEX
Server: Apache/2.4.46 (Ubuntu)
System: Linux localhost 5.11.0-49-generic #55-Ubuntu SMP Wed Jan 12 17:36:34 UTC 2022 x86_64
User: root (0)
PHP: 7.4.16
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/lab-portal/assets/custom.js.download
//homepage banner slider initialize
jQuery(document).ready(function($) {
    $('#homeLeftSlide').slick({
        slidesToShow: 1,
        slidesToScroll: 1,
        autoplay: true,
        autoplaySpeed: 2000,
    });
    $('#testimonialsHome').slick({
        slidesToShow: 1,
        slidesToScroll: 1,
        autoplay: true,
        dots: true,
        autoplaySpeed: 2000,
    });
	$('form.wpcf7-form').on('submit', function() {
        // Delay the reset to ensure form data is processed
        setTimeout(function() {
            $('form.wpcf7-form')[0].reset(); // Reset the form fields
        }, 1000); // Adjust the delay time if needed
    });
});

//to run menu opacity
// document.addEventListener('DOMContentLoaded', function () {
//     const dropdowns = document.querySelectorAll('.nav-item.dropdown');
//     const contentSections = document.querySelectorAll('section');

//     let currentDropdown = null;

//     dropdowns.forEach(dropdown => {
//         dropdown.addEventListener('show.bs.dropdown', function () {
//             currentDropdown = dropdown;
//             contentSections.forEach(section => section.classList.add('dull'));
//         });

//         dropdown.addEventListener('hide.bs.dropdown', function () {
//             if (currentDropdown === dropdown) {
//                 currentDropdown = null;
//                 contentSections.forEach(section => section.classList.remove('dull'));
//             }
//         });
//     });

//     // Close dropdown and remove dull class on click outside
//     document.addEventListener('click', function (event) {
//         if (!event.target.closest('.dropdown')) {
//             currentDropdown = null;
//             contentSections.forEach(section => section.classList.remove('dull'));
//         }
//     });
// });