PageSourceSearch

https://www.shmf.de/data/js/js_33397_functions22js_1748956671.js

js shmf.de collected 2026-10-01 11:32:40 UTC 3,306 bytes, 14 lines download raw bytes

1function reorder(){var _wrapper=$(".home_news22_container"),_cards=$(".home_news22"),_cols=Number(_wrapper.css("column-count")),_out=[],_col=0;while(_col<_cols){for(var i=0;i<_cards.length;i+=_cols){var _val=_cards[i+_col];if(_val!==undefined)
2_out.push(_val);}
3_col++;}
4_wrapper.html(_out);_wrapper.addClass("ready");}
5function getstart(){var h=0;if($('.sprachwahlcontainer').length){h+=$('.sprachwahlcontainer').height();}
6h+=$('header').height();h+=$('.mmc').height();return h;}
7function initticker(){const startDelay=2000;const pxPerSecond=100;const tickerconstruct='<div id="ticker-wrapper"><div id="ticker"></div></div>';if($('.bildholder').length>0){$('.bildholder').after(tickerconstruct);}else if($('.kopfbild22').length>0){$('.kopfbild22').after(tickerconstruct);}
8const $ticker=$('#ticker');tickerData.forEach(entry=>{$ticker.append(`<span class="ticker-item"><strong>+++</strong> ${entry.text} <strong>+++</strong></span>`);});const $clonedItems=$ticker.children().clone().addClass('duplicate');$ticker.append($clonedItems);setTimeout(()=>{const contentWidth=$ticker.width()/2;const duration=contentWidth/pxPerSecond;$ticker.css('animation-duration',`${duration}s`);$ticker.addClass('animate');},startDelay);}
9$(function(){var msnry;var mh=getstart();console.log('H:',mh);if($('.home_news22_container').length){var grid=document.querySelector('.home_news22_container');msnry=new Masonry(grid,{columnWidth:'.grid-sizer',itemSelector:'none',gutter:'.gutter-sizer',percentPosition:true,horizontalOrder:true,stagger:30,visibleStyle:{transform:'translateY(0)',opacity:1},hiddenStyle:{transform:'translateY(100px)',opacity:0},});imagesLoaded(grid,function(){msnry.options.itemSelector='.home_news22';let items=grid.querySelectorAll('.home_news22');msnry.appended(items);var timeoutID=window.setTimeout(function(){msnry.layout()},800);$('.home_news22_container .home_news22').each(function(index,el){console.log('->'+$(this).find('img').get(0).currentSrc);});});function onLayout(){}
10$('.morenews').click(function(event){var elems=[];var fragment=document.createDocumentFragment();for(var i=0;i<10;i++){var elem=getItemElement();console.log(elem);if(elem==undefined){elem=document.createElement('div');}
11fragment.appendChild(elem);elems.push(elem);}
12grid.appendChild(fragment);msnry.once('layoutComplete',onLayout);msnry.appended(elems);var timeoutID=window.setTimeout(function(){msnry.layout()},800);if($('.nextblock .home_news22').length<1){$('.morenews').remove();}});function getItemElement(){var elem=document.createElement('div');elem.className='home_news22 schatten';var t=$('.nextblock .home_news22').first().html();$('.nextblock .home_news22').first().remove();elem.innerHTML=t;if(t!=undefined){return elem;}else{$('.morenews').remove();}}}
13if($('.bildcontainer').length){$('.mmc').after('<div class="bildholder"></div>');$('.bildcontainer').appendTo('.bildholder');}
14$(window).scroll(function(event){var scroll=$(window).scrollTop();if(scroll>mh){if($('.mean-bar .meanmenu-reveal').hasClass('meanclose')){}else{$('html').addClass('smopen');}}else{$('html').removeClass('smopen');if($('.mean-bar2 .meanmenu-reveal2').hasClass('meanclose2')){$('.mean-bar2 .meanmenu-reveal2').trigger('click');}}});var hash=$(location).prop('hash').substr(1);if(typeof(tickerData)==='object'){initticker();}});

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.