PageSourceSearch

https://www.pendikgazetesi.com.tr/assets/js/jquery.script.js?v=1

js pendikgazetesi.com.tr collected 2026-09-25 06:53:58 UTC 3,878 bytes, 107 lines download raw bytes

1window.addEventListener('load', function() {
2//	alert(JSON.stringify(formdata))
3    $("#atime").on("change", function(){
4    	 var sehir = $(this).val();
5		$.post('/include/inc_namaz_islem.php', {sehir:sehir},function(str){
6			$("#atime-result tr").removeClass("active");
7			$("#atime-result td:eq(0)").html(str.Imsak);
8			$("#atime-result td:eq(1)").html(str.Gunes);
9			$("#atime-result td:eq(2)").html(str.Ogle);
10			$("#atime-result td:eq(3)").html(str.Ikindi);
11			$("#atime-result td:eq(4)").html(str.Aksam);
12			$("#atime-result td:eq(5)").html(str.Yatsi);
13		}, 'json');
14	}).change();
15
16    $(".text-size").on("click", function(){
17	    var font_boyut = $("#news-detail #content").css("font-size");
18    	var islem = $(this).hasClass("big");
19    	var new_size;
20	    if(islem){
21	    	new_size = parseFloat(font_boyut) * 1.2;
22	        if(new_size < 50){
23	            $("#news-detail #content").css({"font-size" : new_size });
24	        }
25	    }else{
26	    	new_size = parseFloat(font_boyut) * 0.8;
27	        if(new_size > 12){
28	            $("#news-detail #content").css({"font-size" : new_size });
29	        }
30		}	    	
31	});
32
33    $("#social-share .facebook a").on("click", function(){
34	    var link = $(this).attr("href");
35	    var baslik = $(this).attr("title");
36		window.open("http://www.facebook.com/sharer.php?u=" + encodeURIComponent(link) + "&t=" + encodeURIComponent(baslik), "Paylaşım", "toolbar=0,status=0,width=626,height=436");
37		return false;
38	});
39
40    $("#social-share .twitter a").on("click", function(){
41	    var link = $(this).attr("href");
42	    var baslik = $(this).attr("title");
43	 	window.open("https://twitter.com/share?text="+encodeURIComponent(baslik)+"&url="+encodeURIComponent(link)+"&original_referer="+encodeURIComponent(link), "Paylaşım", "toolbar=0,status=0,width=626,height=436");
44		return false;	 	
45	});
46
47	$(".iform").on('submit', function() {
48		var form = $(this);
49		var button = form.find("button:submit");
50		var button_parent = form.find("button:submit").closest("li");
51		var button_text = button.text();
52		button.attr("type","button").text("Lütfen Bekleyin...");
53			var formdata = $(this).serializeArray();
54			$.post(form.attr("action"),formdata).done(function(data) {
55				var data = JSON.parse(data);
56	                 if (data.durum == 0){
57						 alert(data.cevap);
58						 button.attr("type","submit").text(button_text);
59	                 }else if (data.durum == 1){
60					 	 button.attr("type","submit").text(button_text);
61					 	 if (data.cevap){ 
62							$("<li/>").html("<div class='form-result'>"+data.cevap+"</div>").insertBefore(button_parent);
63						 }
64                         form[0].reset();
65						 var res = setInterval(function(){ 
66							 $(".form-result").fadeOut('slow');  
67							 if(data.url) location.href = data.url
68							 clearInterval(res);
69						 }, 3000);
70                 	}
71		});
72		return false;
73	});
74	function scrollreset(){
75			setInterval(function(){ 
76			$("header.fix").addClass("rfix");
77			$("#fix-icon").fadeOut(300);
78			}, 50000);
79		 //clearInterval(scrollreset);
80	}
81	var ScrollTop = 0;
82	$(document).scroll(function(event){
83		var st = $(this).scrollTop();
84		if (parseInt(st) > parseInt(ScrollTop)){
85			$("header.top, .container-ex-a").removeClass("scdw").addClass("scup");
86		}else{
87			$("header.top, .container-ex-a").removeClass("scup").addClass("scdw");
88		}
89		ScrollTop = st;
90		if($("header.top.scdw").length == 0){
91			$("header.top").addClass("rfix");
92		}else{
93			$("header.top").removeClass("rfix");
94		};
95
96		if($(window).scrollTop() > 70){
97			$("header.top").addClass("fix");
98			$("#fix-icon").fadeIn(300);
99			$(".external-a ul").css("top","10px");
100		}else{
101			$("header.top").removeClass("fix");
102			$("#fix-icon").fadeOut(300);
103			$(".external-a ul").css("top","auto");
104		};
105		scrollreset();
106	});
107});

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.