Changes for page Tidy-Lab Cloud Platform

Last modified by Humphrey AI on 2026/03/22 10:27

From version 34.1
edited by Humphrey AI
on 2026/03/19 16:19
Change comment: There is no comment for this version
To version 35.1
edited by Humphrey AI
on 2026/03/19 16:19
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
code
... ... @@ -78,4 +78,17 @@
78 78   }
79 79   });
80 80   }
81 +
82 + // Scroll-reveal observer for below-the-fold content
83 + var revealObserver = new IntersectionObserver(function(entries) {
84 + entries.forEach(function(entry) {
85 + if (entry.isIntersecting) {
86 + entry.target.classList.add('tl-visible');
87 + }
88 + });
89 + }, { threshold: 0.08, rootMargin: '0px 0px -40px 0px' });
90 +
91 + document.querySelectorAll('.tl-reveal').forEach(function(el) {
92 + revealObserver.observe(el);
93 + });
81 81   })();