PageSourceSearch

https://vaccinedeaths.com/wp-content/themes/NTTheme/js/PageLoad.js

js vaccinedeaths.com collected 2026-10-03 21:01:19 UTC 4,837 bytes, 153 lines download raw bytes

1// UPDATED ON 1/11/2018 @ 11:02AM
2
3//////////////////////////////////////////////////////////////////////////////////////////////
4//////////////////////////////////////////////////////////////////////////////////////////////
5
6$(document).ready(function() {
7
8////////////////////////////////////////////////////////////////////////////////////////////////////////
9
10$('.PostArticle iframe').each(function() { 
11$(this).wrap('<div class="Video"></div>');
12$(this).css('display','block');	
13});
14
15window.addEventListener("resize", CheckSize);
16
17////////////////////////////////////////////////////////////////////////////////////////////////////////
18
19var vDate = new Date();
20var vYear = vDate.getFullYear();
21$('.Copyright').html(vYear); //add date to footer
22
23var vDomain = document.URL;
24var vDomain = vDomain.substring(0, vDomain.lastIndexOf("/") + 1); //assumes the file is kept in the root, not subfolders
25
26////////////////////////////////////////////////////////////////////////////////////////////////////////
27
28$('.Container').click(function() { TurnOff(); });
29$('.FooterContainer').click(function() { TurnOff(); });
30
31////////////////////////////////////////////////////////////////////////////////////////////////////////
32
33$('.Logo').click(function() { 
34if ($('.ButtonMenu').hasClass('ButtonClose')) {
35TurnOff();
36} else {
37window.location.href = vDomain; 
38};
39});
40
41////////////////////////////////////////////////////////////////////////////////////////////////////////
42
43$('.ButtonMenu').click(function() {					  
44if ($(this).hasClass('ButtonClose')) {
45TurnOff();
46} else {
47ShowLeft();
48};
49});
50
51////////////////////////////////////////////////////////////////////////////////////////////////////////
52
53//$('.ButtonTopics').click(function() {
54//if ($(this).hasClass('ButtonClose')) {
55//TurnOff();
56//} else {
57//ShowRight();
58//};
59//});
60
61////////////////////////////////////////////////////////////////////////////////////////////////////////
62
63$("#query").focus(function() {
64if ($('#query').val() == "Search") {
65$('#query').val('')
66}
67});
68
69////////////////////////////////////////////////////////////////////////////////////////////////////////
70
71$("#query").blur(function() {
72if ($('#query').val() == "") {
73$('#query').val('Search')
74}
75});
76
77////////////////////////////////////////////////////////////////////////////////////////////////////////
78
79$('#Search .SearchBox .Button').click(function() { 
80if ($('#query').val() == "Search" || "") {
81//alert ("Please enter a keyword or phrase.");
82$('#query').focus();
83} else {
84$('#GoodGopherSearch').submit();
85}
86});
87
88////////////////////////////////////////////////////////////////////////////////////////////////////////
89
90});
91
92//////////////////////////////////////////////////////////////////////////////////////////////
93//////////////////////////////////////////////////////////////////////////////////////////////
94
95$(window).load(function(){
96
97});
98
99//////////////////////////////////////////////////////////////////////////////////////////////
100//////////////////////////////////////////////////////////////////////////////////////////////
101
102function CheckSize() {
103if ($(window).width() > 768) {
104TurnOff();
105}
106};
107
108////////////////////////////////////////////////////////////////////////////////////////////////////////
109
110function TurnOff() {
111if ($(window).width() > 768) {
112$('.Page').css("position","static");
113} else {
114$('.Page').css("position","absolute");
115};
116$('.Page').css("left","0px");
117//$('.Menu').css("left","-250px");
118//$('.Topics').css("right","-250px");
119$('.Menu').css("left","-500px");
120$('.Topics').css("left","-250px");
121$('.ButtonMenu').removeClass("ButtonClose");
122$('.ButtonTopics').removeClass("ButtonClose");
123};
124
125////////////////////////////////////////////////////////////////////////////////////////////////////////
126
127function ShowLeft() {
128$('.Page').css("position","fixed");
129$('.Page').css("left","250px");
130//$('.Menu').css("left","0px");
131//$('.Topics').css("right","-250px");
132$('.Menu').css("left","-250px");
133$('.Topics').css("left","0px");
134$('.ButtonMenu').addClass("ButtonClose");
135$('.ButtonTopics').removeClass("ButtonClose");
136$('#menufirstblock').hide();
137};
138
139////////////////////////////////////////////////////////////////////////////////////////////////////////
140
141function ShowRight() {
142$('.Page').css("position","fixed");
143$('.Page').css("left","-250px");
144$('.Menu').css("left","-250px");
145$('.Topics').css("right","0px");
146$('.ButtonMenu').removeClass("ButtonClose");
147$('.ButtonTopics').addClass("ButtonClose");
148$('#menufirstblock').show();
149$("#menufirstblock").css("position","fixed");
150$('#menufirstblock').css("left","0px");
151};
152
153////////////////////////////////////////////////////////////////////////////////////////////////////////

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.