PageSourceSearch

https://lostplanet.online/templates/jp/js/scripts.js

js lostplanet.online collected 2026-10-08 12:20:11 UTC 5,388 bytes, 188 lines download raw bytes

1$(function(e){
2    function tracking(e, data){
3        document.getElementById('event').innerHTML = e.type + '.'+ e.namespace
4        if(data){
5            document.getElementById('cls').innerHTML = data.config.cls
6            document.getElementById('drag_old').innerHTML = data.config.drag_old
7            document.getElementById('horizontal-track').innerHTML = data.config.horizontal
8            document.getElementById('start').innerHTML = data.config.start
9            document.getElementById('step').innerHTML = data.config.step
10
11            document.getElementById('selector').innerHTML = e.currentTarget.className
12
13            document.getElementById('scrollHeight').innerHTML = data.tracking.scrollHeight == undefined ? data.tracking.scrollWidth : data.tracking.scrollHeight
14            document.getElementById('paneHeight').innerHTML = data.tracking.paneHeight == undefined ? data.tracking.paneWidth : data.tracking.paneHeight
15            document.getElementById('dragHeight').innerHTML = data.tracking.dragHeight == undefined ? data.tracking.dragWidth : data.tracking.dragHeight
16            document.getElementById('dragTop').innerHTML = data.tracking.dragTop == undefined ? data.tracking.dragLeft : data.tracking.dragTop
17            document.getElementById('dragBot').innerHTML = data.tracking.dragBot == undefined ? data.tracking.dragRight : data.tracking.dragBot
18        }
19        return true;
20    }
21    new Scroll('.scroll-old', {
22        drag_old: '<div class="drag-top"></div><div class="drag-body"></div><div class="drag-bottom"></div>'
23    });
24    return true;
25});
26$(document).ready(function(){
27    // Fade effect
28    $(".fade").css("opacity", "1");
29    $(".fade").hover(function () {
30            $(this).stop().fadeTo(300, 0.65);
31        },
32        function () {
33            $(this).stop().fadeTo(300, 1);
34        });
35    $('input[type="checkbox"], input[type="radio"], .changeskin select').styler();
36    // Horizontal menu
37    $('#h_flow li.h_this').hover(
38        function() {
39            $(this).addClass("selected");
40            $(this).find('ul').stop(true, true);
41            $(this).find('ul').slideDown('fast');
42        },
43        function() {
44            $(this).find('ul').slideUp('fast');
45            $(this).removeClass("selected");
46        }
47    );
48    $(".navi_cc").CLspoiler();
49    // Scroll to top
50    $(function () {
51        $(window).scroll(function () {
52            if ($(this).scrollTop() > 100) {
53                $('.top a').fadeIn();
54            } else {
55                $('.top a').fadeOut();
56            }
57        });
58        $('.top a').click(function () {
59            $('body,html').animate({
60                scrollTop: 0
61            }, 800);
62            return false;
63        });
64    });
65    $('.carousel').elegantcarousel({
66        delay:150,
67        fade:300,
68        slide:500,
69        effect:'slide',
70        orientation:'vertical',
71        loop: true,
72        autoplay: true,
73        time: 4000
74    });
75    // Vertical center of the main
76    function center_main() {
77        var window_height = $(window).height();
78        var main_height = parseInt($('#main').css('height'));
79        var main_height_margin = (window_height - main_height) / 2;
80        $('#main').css('top',Math.floor(main_height_margin));
81    }
82    center_main();
83});
84$.setupJMPopups({
85    screenLockerBackground: "#000",
86    screenLockerOpacity: "0.85"
87});
88function openStaticPopup() {
89    $.openPopupLayer({
90        name: "loginPopup",
91        width: 285,
92        target: "loginform"
93    });
94}
95
96//popups for slider
97function openSliderPopup() {
98    $.openPopupLayer({
99        name: "sliderPopup",
100        width: 285,
101        target: "sliderpopup"
102    });
103}
104//popups for slider
105
106//popups for slider
107function openSliderPopup1() {
108    $.openPopupLayer({
109        name: "sliderPopup1",
110        width: 285,
111        target: "sliderpopup1"
112    });
113}
114//popups for slider
115
116//popups for slider
117function openSliderPopup2() {
118    $.openPopupLayer({
119        name: "sliderPopup2",
120        width: 285,
121        target: "sliderpopup2"
122    });
123}
124//popups for slider
125
126//popups for slider
127function openSliderPopup3() {
128    $.openPopupLayer({
129        name: "sliderPopup3",
130        width: 285,
131        target: "sliderpopup3"
132    });
133}
134//popups for slider
135
136//popups for slider
137function openSliderPopup4() {
138    $.openPopupLayer({
139        name: "sliderPopup4",
140        width: 285,
141        target: "sliderpopup4"
142    });
143}
144//popups for slider
145
146//popups for slider
147function openSliderPopup5() {
148    $.openPopupLayer({
149        name: "sliderPopup5",
150        width: 285,
151        target: "sliderpopup5"
152    });
153}
154//popups for slider
155
156//popups for slider
157function openSliderPopup6() {
158    $.openPopupLayer({
159        name: "sliderPopup6",
160        width: 285,
161        target: "sliderpopup6"
162    });
163}
164//popups for slider
165
166//popups for slider
167function openSliderPopup7() {
168    $.openPopupLayer({
169        name: "sliderPopup7",
170        width: 285,
171        target: "sliderpopup7"
172    });
173}
174//popups for slider
175
176$.fn.CLspoiler=function()
177{
178    $.each(this,function(){
179        $("li.submenu",this).hide();
180        $("li.sublink",this).click(function(){
181            $(this).toggleClass("selected").next("li.submenu").slideToggle(300).css("display",function(){
182                if($(this).css("display")=="list-item")
183                    return "block";
184            });
185        });
186    });
187    return this;
188};

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.