PageSourceSearch

https://diyanet.gov.tr/Assets/Themes/Diyanet/Scripts/content.js

js diyanet.gov.tr collected 2026-10-01 11:26:45 UTC 3,380 bytes, 109 lines download raw bytes

1$(function () {
2   // var shortCurrentCulture = currentCulture.substring(0, 5).split("-")[0];
3
4    //$(".news-list-filter-container #PublishBeginDate").val(function() {
5    //    var val = $(this).val();
6    //    return val+"00";
7    //});
8
9   
10   
11
12    if ($(".iframe-item-active")) {
13        $(".video-item-active").css("display", "none");
14    }
15
16    $(".iframe-item").each(function () {
17        $(this).click(function () {
18            $(".iframe-item-active").css("display", "block");
19            $(".video-item-active").css("display", "none");
20            $(".iframe-item-active").html($(this).attr("iframe-data"));
21        });
22    });
23
24    
25
26
27    if ($(".iframe-item-active iframe").attr("width") > 760) {
28        $(".iframe-item-active iframe").attr("width", "760");
29        $(".iframe-item-active iframe").attr("height", "428");
30    }
31
32    $(".video-item").each(function () {
33        $(this).click(function () {
34            $(".iframe-item-active").css("display", "none");
35            $(".video-item-active").css("display", "block");
36            $(".video-item-active video").attr("src", $(this).attr("data-video"));
37            $(".video-item-active video").attr("poster", $(this).attr("data-img"));
38        });
39    });
40
41
42    $(".video-item-active video").addClass("video-item-active", "embed-responsive embed-responsive-16by9");
43
44    $.getScript("/Assets/Themes/Diyanet/Scripts/i18n/fancybox/fancybox." + currentCulture + ".js");
45    $.getScript("/Assets/Themes/Diyanet/Scripts/fancybox.js", function () {
46        $.getScript("/Assets/Themes/Diyanet/Scripts/fancybox.js", function () {
47            $(".fancybox").fancybox({
48                arrows: true,
49                nextClick: true,
50                mouseWheel: false,
51        
52                beforeShow: function () {
53                    this.title = "(" + (this.index + 1) + "/" + this.group.length + ") " + (this.title ? "" + this.title + "" : "");
54                },
55        
56                afterShow: function () {
57                    setTimeout(function () {
58                        $('.fancybox-prev, .fancybox-next').css({
59                            display: 'block',
60                            visibility: 'visible',
61                            opacity: 1
62                        });
63        
64                        $('.fancybox-prev span, .fancybox-next span').css({
65                            display: 'block',
66                            visibility: 'visible',
67                            opacity: 1
68                        });
69                    }, 50);
70                }
71            });
72        });
73    });
74    
75    
76    $(".fontSizePlus").click(function () {
77        resizeText(1);
78    });
79
80    $(".fontSizeMinus").click(function () {
81        resizeText(-1);
82    });
83
84  
85    $(".elastislide-list").elastislide({
86        minItems: 2
87    });
88
89    $("#content-index-form").paging();
90
91  //  Paging("ContentIndexForm");
92
93
94});
95
96
97
98function FilterFormSubmit() {
99    $("#Paging_CurrentPageNumber").val(1);
100    $("form").submit();
101}
102
103
104function resizeText(multiplier) {
105    if ($("body").css("font-size") === "") {
106        $("body").css("font-size", "1.0em", "important");
107    }
108    $("body").css("font-size", parseFloat($("body").css("font-size") + (multiplier * 0.2) + "em"), "important");
109}

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.