PageSourceSearch

http://www.pneuoccasion.eu/themes/custom.js?v=28_1646067808_144

js pneuoccasion.eu collected 2026-10-08 19:17:48 UTC 4,906 bytes, 10 lines download raw bytes

1$(window).on({'load':function(){if($('#navbar').length===1){$('body').scrollspy({target:'#navbar',speed:1000,afterscroll:function(){$('#navbar.in').collapse('hide')}});$('#navbar').on({'on.show.collapse':function(){if(window.matchMedia('(max-width: 991px)').matches){$('.navbar-top').find('> .container').append('<div id="navbar-overlay" />');$('#navbar-overlay').on('click',function(){$('#navbar').collapse('hide')})}},'on.hidden.collapse':function(){$('#navbar-overlay').remove()}});layout.setMenuWidth()}
2$('.media-list:not([data-addon="eco"])').find('.media').each(function(){var link=$(this).find('.media-object').find('a').length!=0?$(this).find('.media-object').find('a'):$(this).find('.media-heading').find('a');if(link.length!=0){var only=$(this).find('a').not('[href="'+link.attr('href')+'"]').not(':hidden').length==0?!0:!1;if(only&&!link.hasClass('fancybox')&&$.isMobile()){$(this).clickable({classname:'pointer',target:link.attr('href')})}
3if(link.parent().is('.media-object')){var icon_size=link.closest('.widget-content').length===1?'lg':'3x';if(link.hasClass('fancybox')){link.append('<span class="media-overlay"><i class="fa fa-search fa-'+icon_size+'"></i></span>')}else{link.append('<span class="media-overlay"><i class="fa fa-plus fa-'+icon_size+'"></i></span>')}}}});$('.media-list[data-addon="eco"]').find('.media').each(function(){if($(this).find('.btn-default').length!=0){var detailsLabel=$(this).find('.btn-default').text();$(this).find('.media-object').find('a').append('<span class="media-overlay"><span>'+detailsLabel+'</span></span>')}});if($('#sidebar').length!=0&&($('#main').outerHeight()>$('#sidebar').outerHeight())){var start=$('header').length===1?'#wrapper':0;$('#sidebar-wrapper').fix({from:start,to:'#main',viewportmin:992,width:'#sidebar'});if($('#sidebar').find('.carousel[data-thumbnails]').length){$('#sidebar').find('.carousel[data-thumbnails]').each(function(){$(this).on('on.thumbnailsLoaded.carousel',function(){$('#sidebar-wrapper').fix('refresh')})})}}
4if(window.location.hash){var $target=$('#'+window.location.hash.substring(1)).first();if($target.length){layout.anchors($target)}}
5$('a[href^="#"]').not('[data-toggle], [data-slide]').on('click',function(){var $target=$($(this).attr('href')).first();if($target.length){layout.anchors($target)}})},'resize':function(){if($('#navbar').length===1){layout.setMenuWidth()}}});layout.anchors=function($target){var $targetX=$target.offset().left;var $targetY=$target.offset().top;$targetY-=$('.navbar-fixed-top').length?$('.navbar-fixed-top').outerHeight():0;$('html, body').animate({scrollTop:$targetY,scrollLeft:$targetX},240)};layout.setMenuWidth=function(){var containerWidth=$('.navbar-top').find('.container').width();var navbarButtonsWidth=$('.navbar-top').find('.navbar-buttons').length!=0?Math.ceil($('.navbar-top').find('.navbar-buttons').width()):0;if(window.matchMedia("(min-width: 992px)").matches){if(!$('.navbar-header').hasClass('hidden-desktop')){if($('.navbar-header').data('minWidth')===undefined){var temp=$('.navbar-header').clone();temp.css({'display':'none','float':'left'}).appendTo('.navbar-top');$('.navbar-header').data('minWidth',temp.outerWidth()!=0?temp.outerWidth()+1:0);temp.remove()}
6$('.navbar-header').css({'min-width':$('.navbar-header').data('minWidth')+'px','max-width':''})}
7var brandWidth=$('.navbar-header').outerWidth();var availableWidth=Math.ceil(containerWidth-(brandWidth+navbarButtonsWidth));var itemsWidth=0;$('#navbar').find('.navbar-nav').find('> li').each(function(){$(this).removeClass('hidden-desktop');itemsWidth+=Math.ceil($(this).outerWidth());$(this).addClass(function(){return itemsWidth>availableWidth?'hidden-desktop':''}).filter('[class=""]').removeAttr('class')})}else{var availableWidth=Math.floor(containerWidth-navbarButtonsWidth);$('.navbar-header').css({'max-width':availableWidth+'px','min-width':''})}};layout.setHeaderHeight=function(){if(($('header').data('h')===undefined)||$.isMobile()){var headerMinH='auto'}else{var headerMinH=$('header').data('h')}
8var windowWidth=$(window).width();var windowHeight=$(window).height();if(headerMinH=='auto'){var ratio=windowWidth/$('header').data('bgWidth');var height=Math.round($('header').data('bgHeight')*ratio)}else{var height=Math.round((windowHeight/100)*headerMinH);height=!$('.navbar-top').hasClass('in-header')?height-$('.navbar-top').outerHeight():height}
9$('header').css({'height':height+'px'})};layout.setFooterFrieze=function(){var canvas=$('#footer-frieze')[0].getContext('2d');canvas.fillStyle=$('#footer-wrapper').css('background-color');$('#footer-frieze').attr('height',32);$('#footer-frieze').attr('width',$('#footer').outerWidth());canvas.beginPath()};layout.toggleCart=function(target){$(target).next('.cart-content').toggleClass(function(){if($(this).is('.hide')&&$('.navbar-search').find('form').not('.hide')){$('.navbar-search').find('form').addClass('hide')}
10return'hide'})}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.