🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:reveal.js
/** * Ophiro Scroll Reveal * Elegant entrance animations triggered on scroll */ ( function() { 'use strict'; const revealElements = document.querySelectorAll( '.o-reveal, .o-stagger' ); if ( ! revealElements.length ) return; // Intersection Observer for performant scroll detection const observerOptions = { root: null, rootMargin: '0px 0px -60px 0px', threshold: 0.1 }; const revealObserver = new IntersectionObserver( function( entries ) { entries.forEach( function( entry ) { if ( entry.isIntersecting ) { entry.target.classList.add( 'is-visible' ); revealObserver.unobserve( entry.target ); } } ); }, observerOptions ); revealElements.forEach( function( el ) { revealObserver.observe( el ); } ); // Smooth scroll for anchor links document.querySelectorAll( 'a[href^="#"]' ).forEach( function( anchor ) { anchor.addEventListener( 'click', function( e ) { const targetId = this.getAttribute( 'href' ); if ( targetId === '#' ) return; const target = document.querySelector( targetId ); if ( target ) { e.preventDefault(); const headerHeight = document.getElementById( 'o-site-header' ) ? document.getElementById( 'o-site-header' ).offsetHeight : 0; window.scrollTo( { top: target.offsetTop - headerHeight - 20, behavior: 'smooth' } ); } } ); } ); } )();
Save Changes
Cancel
Create New File
Create New Folder