PageSourceSearch

https://respectavto.com/bitrix/js/phpsolutions.backtotop/backtotop.js?14646919233165

js respectavto.com collected 2026-10-04 23:30:29 UTC 3,165 bytes, 61 lines download raw bytes

1$(document).ready(function(){ 
2	$( "body" ).append( "<a class='BackToTop' href='#'><img src='" + phpsolutions_backtotop_selected_image + "'></a>" ) ;
3	$('.BackToTop').fadeTo( 0, phpsolutions_backtotop_button_opacity / 100 ) ;
4	if ($(this).scrollTop() > phpsolutions_backtotop_skip ) {
5        $('.BackToTop').fadeIn();
6    }
7	else {
8        $('.BackToTop').fadeOut();
9		$('.BackToTop').css( "display", 'none' ) ;	
10    } 	
11	
12	if( phpsolutions_backtotop_position == 'top-left' ){
13		$('.BackToTop').css( "top", phpsolutions_backtotop_position_indent_y + 'px' ) ;
14		$('.BackToTop').css( "left", phpsolutions_backtotop_position_indent_x + 'px' ) ;				
15	}
16	else if( phpsolutions_backtotop_position == 'top-center' ){
17		$('.BackToTop').css( "top", phpsolutions_backtotop_position_indent_y + 'px' ) ;
18		$('.BackToTop').css( "left", ( $( window ).width() / 2 ) - ( phpsolutions_backtotop_image_width / 2 ) + 'px' ) ;				
19	}
20	else if(phpsolutions_backtotop_position=='top-right'){
21		$('.BackToTop').css( "top", phpsolutions_backtotop_position_indent_y + 'px' ) ;
22		$('.BackToTop').css( "right", phpsolutions_backtotop_position_indent_x + 'px' ) ;				
23	}	
24	else if( phpsolutions_backtotop_position == 'middle-left' ){
25		$('.BackToTop').css( "top", ( $( window ).height() / 2 ) - ( phpsolutions_backtotop_image_height / 2 ) + 'px' ) ;
26		$('.BackToTop').css( "left", phpsolutions_backtotop_position_indent_x + 'px' ) ;				
27	}
28	else if( phpsolutions_backtotop_position == 'middle-center' ){
29		$('.BackToTop').css( "top", ( $( window ).height() / 2 ) - ( phpsolutions_backtotop_image_height / 2 ) + 'px' ) ;
30		$('.BackToTop').css( "left", ( $( window ).width() / 2 ) - ( phpsolutions_backtotop_image_width / 2 ) + 'px' ) ;				
31	}
32	else if(phpsolutions_backtotop_position=='middle-right'){
33		$('.BackToTop').css( "top", ( $( window ).height() / 2 ) - ( phpsolutions_backtotop_image_height / 2 ) + 'px' ) ;
34		$('.BackToTop').css( "right", phpsolutions_backtotop_position_indent_x + 'px' ) ;				
35	}	
36	else if( phpsolutions_backtotop_position == 'bottom-left' ){
37		$('.BackToTop').css( "bottom", phpsolutions_backtotop_position_indent_y + 'px' ) ;
38		$('.BackToTop').css( "left", phpsolutions_backtotop_position_indent_x + 'px' ) ;				
39	}
40	else if( phpsolutions_backtotop_position == 'bottom-center' ){
41		$('.BackToTop').css( "bottom", phpsolutions_backtotop_position_indent_y + 'px' ) ;
42		$('.BackToTop').css( "left", ( $( window ).width() / 2 ) - ( phpsolutions_backtotop_image_width / 2 ) + 'px' ) ;				
43	}
44	else if(phpsolutions_backtotop_position=='bottom-right'){
45		$('.BackToTop').css( "bottom", phpsolutions_backtotop_position_indent_y + 'px' ) ;
46		$('.BackToTop').css( "right", phpsolutions_backtotop_position_indent_x + 'px' ) ;				
47	}	
48	
49    $(window).scroll(function(){
50		if ($(this).scrollTop() > phpsolutions_backtotop_skip ) {
51            $('.BackToTop').fadeIn() ;
52        }
53		else {
54            $('.BackToTop').fadeOut() ;
55        } 
56    }); 
57    $('.BackToTop').click(function(){
58        $("html, body").animate({ scrollTop: 0 }, phpsolutions_backtotop_scroll_speed ) ;
59        return false ;
60    }); 	
61}); 	

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.