GRAYBYTE WORDPRESS FILE MANAGER4167

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/public_html/Barga/assets/web/js/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/public_html/Barga/assets/web/js//scripts.js
document.addEventListener('DOMContentLoaded', function() {
    flatpickr("#arrivalDate", {
        dateFormat: "Y-m-d",
    });

    flatpickr("#departureDate", {
        dateFormat: "Y-m-d",
    });

    document.getElementById('bookingForm').addEventListener('submit', function(event) {
        event.preventDefault();
        
        const roomType = document.getElementById('roomType').value;
        const numAdults = document.getElementById('numAdults').value;
        const numChildren = document.getElementById('numChildren').value;
        const arrivalDate = document.getElementById('arrivalDate').value;
        const departureDate = document.getElementById('departureDate').value;
        
        alert(`You searched for: 
               Room Type: ${roomType}
               Number of Adults: ${numAdults}
               Number of Children: ${numChildren}
               Arrival Date: ${arrivalDate}
               Departure Date: ${departureDate}`);
    });

    const sliders = document.querySelectorAll('.slider');
    sliders.forEach(slider => {
        let currentIndex = 0;
        const images = slider.querySelectorAll('img');
        setInterval(() => {
            images[currentIndex].style.display = 'none';
            currentIndex = (currentIndex + 1) % images.length;
            images[currentIndex].style.display = 'block';
        }, 3000);
    });
});

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 27 2024 00:19:25
giriqfky / giriqfky
0755
scripts.js
1.39 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF