PageSourceSearch

http://www.anpfiff.info/ScriptResource.axd?d=h8CBMlIxeKSGyglRdHEuW…5S8TewHou1cqJ0l4ui57ZemDSdWwYm60&t=3c9e333b

js anpfiff.info collected 2026-10-02 07:20:23 UTC 3,744 bytes, 117 lines download raw bytes

1var lastShownButtonTop;
2var lastShownSlideTop = 1;
3var activeSlideTop = 1;
4
5function showTopItemByIndex(index) {
6    var radRotatorTop = $find(GetElementClientIdTop("radRotatorTop"));
7
8    if (index == 0) {
9        /* Click auf 1. Item */
10        radRotatorTop.set_currentItemIndex(radRotatorTop.get_items().length - 1);
11        radRotatorTop.showNext(Telerik.Web.UI.RotatorScrollDirection.Left);
12    }
13    else {
14        radRotatorTop.set_currentItemIndex(0);
15        for (var i = 0; i < index; i++) {
16            radRotatorTop.showNext(Telerik.Web.UI.RotatorScrollDirection.Left);
17        }
18    }
19
20    if (lastShownButtonTop) {
21        lastShownButtonTop.setAttribute((document.all ? "className" : "class"), "rot-top-nohighlight");
22    }
23
24    var linkBtn = document.getElementById(modTopspieleClientID + "_Button" + index);
25    if (linkBtn) {
26        linkBtn.setAttribute((document.all ? "className" : "class"), "rot-top-highlight");
27        lastShownButtonTop = linkBtn;
28    }
29}
30
31function OnClientItemShowingTop(sender, args) {
32    var currentIndex = args.get_item().get_index();
33    var hdFldTopAnz = document.getElementById(GetElementClientIdTop("hdFldTopAnz"));
34
35    var itemPlus1 = parseInt(currentIndex) + 1
36    var itemNrNext = (itemPlus1 == parseInt(hdFldTopAnz.value) ? 0 : itemPlus1)
37
38    SetClassPagerTop(itemNrNext);
39    ShowHideTabTop(itemNrNext);
40}
41
42function ShowHideTabTop(index) {
43    switch (true) {
44        case (index >= 0 && index <= 4):
45            activeSlideTop = 1;
46            break;
47        case (index >= 5 && index <= 9):
48            activeSlideTop = 2;
49            break;
50        case (index >= 10 && index <= 14):
51            activeSlideTop = 3;
52            break;
53        case (index >= 15 && index <= 19):
54            activeSlideTop = 4;
55            break;
56        case (index >= 20 && index <= 24):
57            activeSlideTop = 5;
58            break;
59    }
60
61    if (lastShownSlideTop != activeSlideTop) {
62        var divLast = document.getElementById("TabTop_" + lastShownSlideTop);
63        divLast.style.display = "none";
64
65        var divActive = document.getElementById("TabTop_" + activeSlideTop);
66        divActive.style.display = "inline";
67
68        lastShownSlideTop = activeSlideTop;
69    }
70
71    // Bullets formatieren
72    for (var i = 1; i <= 5; i++) {
73        var lnkPgTop = document.getElementById(GetElementClientIdTop("lnkPgTop" + i));
74        if (lnkPgTop) {
75            lnkPgTop.className = ((activeSlideTop == i) ? "bullet active" : "bullet");
76        }
77    }
78}
79
80function OnClientLoadTopRotator(sender, args) {
81
82    SetClassPagerTop(0);
83}
84
85function SetClassPagerTop(indx) {
86    if (lastShownButtonTop) {
87        lastShownButtonTop.setAttribute((document.all ? "className" : "class"), "rot-top-nohighlight");
88    }
89
90    var linkBtn = document.getElementById(modTopspieleClientID + "_Button" + indx);
91
92    if (linkBtn) {
93        linkBtn.setAttribute((document.all ? "className" : "class"), "rot-top-highlight");
94        lastShownButtonTop = linkBtn;
95    }
96}
97
98function SetPageTop(slide) {
99    var indexCall = ((slide - 1) * 5);
100    showTopItemByIndex(indexCall);
101}
102
103function SetNextPageTop(Direction) {
104    // Left/Right-Button
105    var hdFldTopSlides = document.getElementById(GetElementClientIdTop("hdFldTopSlides"));
106
107    var skipToSlide;
108    if (Direction == "L") {
109        skipToSlide = ((activeSlideTop - 1) == 0 ? hdFldTopSlides.value : (activeSlideTop - 1))
110    }
111    else {
112        skipToSlide = ((activeSlideTop + 1) > hdFldTopSlides.value ? 1 : (activeSlideTop + 1))
113    }
114
115    SetPageTop(skipToSlide);
116}
117if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();

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.