PageSourceSearch

https://aeronext.aero/cssjs/cal.js

js aeronext.aero collected 2026-09-29 07:36:31 UTC 1,476 bytes, 44 lines download raw bytes

1
2function fn_ChangeEventMonth(ObjID) {
3  var DateStr = $(ObjID).attr("data-date");
4  var HolderID = $(ObjID).parent();
5  var TopicID = $(ObjID).parent().attr('id').split('-')[2];
6  $.get("/Handlers/Event.ashx", { "A": 13, "ID": TopicID, "Date": DateStr }, function (data) {
7    var Mas = data.split('|');
8    if (Mas[0] != "0") {
9      alert(Mas[0]);
10      return;
11    }
12    $("#cal-days-" + TopicID).html(Mas[1]);
13    $(HolderID).html(Mas[2]);
14    // reload month events
15    $(".cal-event").removeClass('show');
16    $(".cal-event").removeClass('shown');
17    $(".cal-event").addClass('hide');
18    window.setTimeout("fn_GetCalendarEvents("+TopicID+", '"+DateStr+"', true)", 500);
19  });
20}
21
22
23function fn_ChangeEventDate(ObjID) {
24  var DateStr = $(ObjID).attr("data-date");
25  var TopicID = $(ObjID).parent().parent().attr('id').split('-')[2];
26  $(".cal-event").removeClass('show');
27  $(".cal-event").removeClass('shown');
28  $(".cal-event").addClass('hide');
29  window.setTimeout("fn_GetCalendarEvents(" + TopicID + ", '" + DateStr + "', false)", 500);
30}
31
32
33function fn_GetCalendarEvents(TopicID, DateStr, IsMonth) {
34  var ActID = IsMonth ? 14 : 15;
35  $.get("/Handlers/Event.ashx", { "A": ActID, "ID": TopicID, "Date": DateStr, "M": IsMonth }, function (data) {
36    $("#cal-events-" + TopicID).html(data);
37    $(".cal-event").addClass('show');
38    window.setTimeout("fn_ShowCalendarEvents()", 100);
39  });
40}
41
42function fn_ShowCalendarEvents() {
43  $(".cal-event").addClass('shown');
44}

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.