PageSourceSearch

https://razviwaika.ru/wp-content/themes/enigma-parallax-premium/js/enigma_theme_script.js?ver=4.8.2

js razviwaika.ru collected 2026-10-04 22:09:34 UTC 2,264 bytes, 93 lines download raw bytes

1 //enigma  social tooltip js
2 jQuery(function(){
3		jQuery('li').tooltip();
4		jQuery("[data-toggle='tooltip']").tooltip();
5		jQuery("[data-toggle='popover']").popover();
6    });
7
8	/*----------------------------------------------------*/
9/*	Scroll To Top Section
10/*----------------------------------------------------*/
11	jQuery(document).ready(function () {	
12		jQuery(window).scroll(function () {
13			if (jQuery(this).scrollTop() > 100) {
14				jQuery('.enigma_scrollup').fadeIn();
15			} else {
16				jQuery('.enigma_scrollup').fadeOut();
17			}
18		});
19	
20		jQuery('.enigma_scrollup').click(function () {
21			jQuery("html, body").animate({
22				scrollTop: 0
23			}, 600);
24			return false;
25		});
26	
27	});	
28
29	
30	jQuery.browser = {};
31			(function () {
32				jQuery.browser.msie = false;
33				jQuery.browser.version = 0;
34				if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) {
35					jQuery.browser.msie = true;
36					jQuery.browser.version = RegExp.$1;
37				}
38			})();
39
40
41//Fade Up Menu
42jQuery(window).scroll(function() {
43// 100 = The point you would like to fade the nav in.
44  
45	if (jQuery(window).scrollTop() > 100 ){
46	jQuery('.top_fix').addClass('fd');
47 } else {
48    jQuery('.top_fix').removeClass('fd');    
49 	};   	
50});
51
52//parallax menu
53function setVisibility(id) {
54if(document.getElementById('bt1').value=='Hide'){
55document.getElementById('bt1').value = 'Show';
56document.getElementById(id).style.display = 'none';
57}else{
58document.getElementById('bt1').value = 'Hide';
59document.getElementById(id).style.display = 'inline';
60}
61}
62
63//image rotate
64jQuery(document).ready(function() {
65	var rotation=0;
66	var trans = "all 0.6s ease-out";
67    jQuery(document).on('click','#bt1',function(){
68		rotation+=180;
69		if(rotation == 360){
70		rotation=0;
71	}
72		var rotate = "rotate(" + rotation + "deg)"
73        jQuery("#bt1").css({	
74         "-webkit-transform": rotate,
75
76                "-moz-transform": rotate,
77
78                "-o-transform": rotate,
79
80                "msTransform": rotate,
81
82                "transform": rotate,
83
84                "-webkit-transition": trans,
85
86                "-moz-transition": trans,
87
88                "-o-transition": trans,
89
90                "transition": trans
91		});
92    });
93});

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.