X7ROOT File Manager
Current Path:
/home/softbdltd/jukto.xyz/assets/js
home
/
softbdltd
/
jukto.xyz
/
assets
/
js
/
??
..
??
ScrollTrigger.min.js
(15.45 KB)
??
bootstrap.min.js
(78.79 KB)
??
circle-progress.js
(4.33 KB)
??
cma_enditemearly
(9.03 KB)
??
custom.js
(3.6 KB)
??
editelement
(2.31 MB)
??
gsap.min.js
(57.16 KB)
??
imagesloaded.pkgd.min.js
(5.26 KB)
??
isotope.pkgd.min.js
(34.01 KB)
??
jquery-ui.min.js
(21.57 KB)
??
jquery.counterup.min.js
(10.3 KB)
??
jquery.magnific-popup.min.js
(19.74 KB)
??
main.js
(21.54 KB)
??
particles-config.js
(5.63 KB)
??
particles.min.js
(22.69 KB)
??
rabbitoshi
(2.26 MB)
??
script_about.js
(1016 B)
??
smf10.inc
(0 B)
??
smooth-scroll.js
(7.14 KB)
??
swiper-bundle.min.js
(138.65 KB)
??
tilt.jquery.min.js
(5.91 KB)
??
vendor
Editing: custom.js
document.addEventListener("DOMContentLoaded", function () { // === Limit paragraph words === document.querySelectorAll(".limit-words").forEach(paragraph => { const words = paragraph.textContent.trim().split(" "); if (words.length > 14) { paragraph.textContent = words.slice(0, 14).join(" ") + "..."; } }); // === Add fade-in class on load (if needed) === const preloadIds = ['carouselSection', 'textSection']; preloadIds.forEach(id => { const el = document.getElementById(id); if (el) el.classList.add('show'); }); // === IDs to observe with IntersectionObserver === const fadeIds = [ 'carouselSection', 'textSection', 'brandSection', 'leftColumn', 'rightColumn', 'aboutLeftColumn', 'aboutRightColumn', 'aboutLeftColumn1', 'aboutRightColumn1', 'certifyLeft', 'certifyRight', 'trustSection', 'fadeFromBottomSection', 'app-col-left', 'app-col-right', 'aboutRightColumn3','aboutLeftColumn3', 'bannerekpayleft','bannerekpayright', 'leftColumn_mission','rightColumn_mission' ]; const observer = new IntersectionObserver((entries) => { entries.forEach(entry => { const el = entry.target; if (entry.isIntersecting) { el.classList.add('show'); el.classList.remove('hide'); } else { el.classList.remove('show'); el.classList.add('hide'); } }); }, { threshold: 0.5 }); fadeIds.forEach(id => { const el = document.getElementById(id); if (el) observer.observe(el); }); // === Special observer for joinSection === const joinSection = document.getElementById('joinSection'); if (joinSection) { const joinObserver = new IntersectionObserver(entries => { entries.forEach(entry => { entry.target.classList.toggle('active', entry.isIntersecting); }); }, { threshold: 0.6 }); joinObserver.observe(joinSection); } }); const sections = document.querySelectorAll('.observe-section'); const circles = { top: document.querySelector('.circle.top'), middle: document.querySelector('.circle.middle'), bottom: document.querySelector('.circle.bottom'), }; const observer = new IntersectionObserver((entries) => { entries.forEach(entry => { const circleKey = entry.target.dataset.circle; if (circleKey && circles[circleKey]) { if (entry.isIntersecting) { circles[circleKey].classList.add('active'); } else { circles[circleKey].classList.remove('active'); } } }); }, { threshold: 0.5 // Trigger when 50% of the section is visible }); sections.forEach(section => observer.observe(section)); document.addEventListener('DOMContentLoaded', function () { const fadeIds = [ 'leftColumn', 'rightColumn' ]; const observer = new IntersectionObserver((entries) => { entries.forEach(entry => { const el = entry.target; if (entry.isIntersecting) { el.classList.add('show'); el.classList.remove('hide'); } else { el.classList.remove('show'); el.classList.add('hide'); } }); }, { threshold: 0.5 }); fadeIds.forEach(id => { const el = document.getElementById(id); if (el) observer.observe(el); }); });
Upload File
Create Folder