|
Server IP : 10.128.40.6 / Your IP : 216.73.216.165 Web Server : Apache System : Linux webd006.cluster128.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : logmcpe ( 111175) PHP Version : 7.3.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0705) : /home/logmcpe/www/TEST/../MC/temp/1976/../15/../../code/../code/../../AB/../AB/js/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
// JavaScript Document
$(document).ready(function () {
'use strict';
var positionElementInPage = $('#myCarousel').offset().top;
$(window).scroll(
function() {
if ($(window).scrollTop() >= positionElementInPage) {
// fixed
$('#navigation').addClass("floatable");
$('#myCarousel').addClass("margin-top-carousel");
} else {
// relative
$('#navigation').removeClass("floatable");
$('#myCarousel').removeClass("margin-top-carousel");
}
}
);
});