Bitpalast® Erfahrungen und Test

Dieser Anbieter ist in diesem Land inaktiv.

assets/js/favoritesManager.js fm.updateFavoritesBox(); fm.initializeFavoritesManager(); $("#main-category-navigation-row").css("z-index", "99"); $('#copyStatusMessage').delay(500).fadeOut() $('#copyUrlButton').click(function () { const currentUrl = $('.currentburl').text(); console.log(currentUrl); navigator.clipboard.writeText(currentUrl) .then(function () { $('#copyStatusMessage').text('URL in die Zwischenablage kopiert!').fadeIn(); $('#copyStatusMessage').delay(1000).fadeOut(); }) .catch(function (err) { $('#copyStatusMessage').text('Fehler beim Kopieren der URL.').fadeIn(); $('#copyStatusMessage').delay(1000).fadeOut(); console.error('Fehler beim Kopieren der URL.:', err); }); }); }); var breakpoint = 991;//991; $(window).on('load', function () { // initialization of header $.HSCore.components.HSHeader.init($('#js-header')); $.HSCore.helpers.HSHamburgers.init('.hamburger'); // initialization of HSMegaMenu component $('.js-mega-menu').HSMegaMenu({ event: 'hover', pageContainer: $('.container'), breakpoint: breakpoint }); }); $(window).on('resize', function () { setTimeout(function () { $.HSCore.components.HSTabs.init('[role="tablist"]'); }, 200); }); $(document).scroll(function () { let $navbar = $("#navbar-main"); let navbarHeight = $navbar.height(); let limes = $('#above-navbar').height() || 0; // Add fallback if element doesn't exist // Check if window width is above breakpoint (desktop view) if ($(window).width() > breakpoint) { if ($(window).scrollTop() > limes) { $navbar.addClass('fixed-top'); // Use Bootstrap's fixed-top class $navbar.css({ 'position': 'fixed', 'top': '0', 'right': '0', 'left': '0', 'z-index': '1030' }); $('body').css('padding-top', navbarHeight + 'px'); // Add padding to prevent content jump } else { $navbar.removeClass('fixed-top'); $navbar.css({ 'position': 'relative', 'top': 'auto' }); $('body').css('padding-top', '0'); } } else { // Reset styles for mobile view $navbar.removeClass('fixed-top'); $navbar.css({ 'position': 'relative', 'top': 'auto' }); $('body').css('padding-top', '0'); } }); $('img.unveil').unveil(); /*$(window).scroll(function() { if ($(window).scrollTop() > 600) { // Set the value after how many px banner will show up. Default is 400. $("#fob").removeClass("hidden"); } });*/ -->
OSZAR »