PageSourceSearch

https://xn--h1aeok.xn--p1ai/plugins/system/sl_scrolltotop/assets/js/skyline_scrolltotop.min.js

js xn--h1aeok.xn--p1ai collected 2026-10-03 00:12:01 UTC 1,240 bytes, 6 lines download raw bytes

1/**
2 * @copyright	Copyright (c) 2013 Skyline Software (http://extstore.com). All rights reserved.
3 * @license		GNU General Public License version 2 or later; see LICENSE.txt
4 */
5
6var Skyline_ScrollToTop=new Class({Implements:[Options],options:{'id':'scrollToTop','className':'scrollToTop','image':'','text':'^ Scroll to Top','title':'Scroll to Top','transition':Fx.Transitions.linear,'duration':500},initialize:function(b){this.setOptions(b);this.scrollFx=new Fx.Scroll(window,{transition:this.options.transition,duration:this.options.duration});this.scrollLink=new Element('a',{'id':this.options.id,'html':this.options.text,'title':this.options.title,'class':this.options.className,'styles':{'visibility':'hidden','opacity':0},'events':{click:function(){this.scrollFx.toTop()}.bind(this)}}).inject(document.id(document.body));if(this.options.image!=''){new Element('img',{'src':this.options.image,'alt':this.options.title}).inject(this.scrollLink,'top')}if(window.getScrollTop()!=0){this.scrollLink.fade(1)}window.addEvent('scroll',function(){var a=this.scrollLink.getStyle('visibility')=='visible';if(window.getScrollTop()!=0&&!a){this.scrollLink.fade(1)}else if(window.getScrollTop()==0&&a){this.scrollLink.fade(0)}}.bind(this))}});

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.