PageSourceSearch

https://www.evolutionmarketing.cz/user_js/cms/extension/scrollTopButton/scrollTopButton.js

js evolutionmarketing.cz collected 2026-10-08 18:54:01 UTC 4,276 bytes, 1 lines download raw bytes

1(function(d){var c=a();scrollTopButton=function(){throw new Error("Incorrect function call.")};scrollTopButton.init=function(m){if(!jQuery.isEmptyObject(m)){for(var e in m){if(c.params[e]==undefined){if(e!="server"){throw new Error("Invalid option: "+e)}}c.params[e]=m[e]}}var h=b(c);var g=d("body");var j=d(document).height();if(h===null){throw new Error("Undefined language set.")}if(c.params["css"]==5){g.append('<p id="back-top"><span class="btRing"><svg viewBox="0 0 36 36"><path d="M18 2.0845a 15.9155 15.9155 0 0 1 0 31.831a 15.9155 15.9155 0 0 1 0 -31.831"></path><path stroke-dasharray="0, 100" d="M18 2.0845a 15.9155 15.9155 0 0 1 0 31.831a 15.9155 15.9155 0 0 1 0 -31.831"></path></svg></span><a href="#top" class="up" title='+h.up+'><span class="btimg">&nbsp;</span><span class="bttext">'+h.up+"</span></a></p>")}else{g.append('<p id="back-top"><a href="#top" class="up" title='+h.up+'><span class="btimg">&nbsp;</span><span class="bttext">'+h.up+"</span></a></p>")}if(d(window).width()<=768){d("#back-top").addClass("mobil");d("#back-top").prepend('<a href="#top" class="back" title='+h.back+'><span class="btimg">&nbsp;</span></a>')}d('<link rel="stylesheet" href="/user_js/cms/extension/scrollTopButton/css/'+c.params.css+'.css" type="text/css" />').appendTo("head");d("#back-top").css("position","fixed").css("display","none").css("bottom",c.params.paddingBottom+"px").css("cursor","pointer");d("#back-top .btimg").not(".back .btimg").hover(function(){});d("#back-top").mouseover(function(){d(this).find(".btimg").not(".back .btimg").css("border-bottom-color",d("a").css("color"))}).mouseout(function(){d(this).find(".btimg").not(".back .btimg").css("border-bottom-color","#CCCCCC")});if(c.params.without){c.params.without.each(function(){var n=d(this).offset();if(n.top<j){j=n.top}})}main.debug("MaxHeight "+j,c);var l=d(window).scrollTop();main.debug("From top start "+l,c);d(window).scroll(function(){l=d(window).scrollTop();if(c.params["css"]==5){var n=100*l/(d(document).height()-d(window).height());d("#back-top .btRing svg path:nth-child( 2 )").attr("stroke-dasharray",n+", 100")}if(d("#back-top").hasClass("mobil")){if(c.params.scrollable===true){if(l>c.params.distance){if(l>c.params.lastScrollTop){if(d("#back-top").is(":visible")){c.params.scrollable=false;i()}}else{if(d("#back-top").not(":visible")){c.params.scrollable=false;f()}}c.params.lastScrollTop=l}else{if(d("#back-top").is(":visible")){c.params.scrollable=false;i()}}}}else{if(l+d(window).height()>j){k()}else{d("#back-top").css("bottom",c.params.paddingBottom+"px")}if((c.params.maxWidthShow===null||d(window).width()>c.params.maxWidthShow)){if(l>c.params.distance&&d("#back-top").css("display")=="none"){main.debug("In",c);f();if(d.isFunction(c.params.funcOnStart)){c.params.funcOnStart.call(g[0])}}else{if(l<=c.params.distance&&d("#back-top").css("display")=="block"){main.debug("Out",c);i();if(d.isFunction(c.params.funcOnEnd)){c.params.doOut.call(g[0])}}}}else{main.debug("wider than maxWidthShow "+c.params.maxWidthShow,c)}}});d("#back-top a").not("a.back ").click(function(){main.debug("Click",c);d("body,html").animate({scrollTop:0},c.params.speed);if(d.isFunction(c.params.doClick)){c.params.doClick.call(g[0])}return false});d("#back-top a.back").click(function(){main.debug("Click back",c);window.history.back();return false});function f(){if(c.params.fading===true){d("#back-top").fadeIn(300,function(){c.params.scrollable=true})}else{if(c.params.sliding===true){d("#back-top").show("slide",{direction:"right"},500,function(){c.params.scrollable=true})}else{d("#back-top").show()}}}function i(){if(c.params.fading===true){d("#back-top").fadeOut(300,function(){c.params.scrollable=true})}else{if(c.params.sliding===true){d("#back-top").hide("slide",{direction:"right"},500,function(){c.params.scrollable=true})}else{d("#back-top").hide()}}}function k(){j=d(document).height();if(c.params.without!=null){c.params.without.each(function(){var n=d(this).offset();if(n.top<j){j=n.top}})}}};function a(){var e=d.ajax({url:"/user_js/cms/extension/scrollTopButton/config.json",async:false}).responseText;return JSON.parse(e)}function b(e){var f=d.ajax({url:"/user_js/cms/extension/scrollTopButton/lang/"+e.params.lang+".json",async:false}).responseText;return JSON.parse(f)}})(jQuery);

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.