PageSourceSearch

http://mebel-3d.ru/templates/tz_dekor_joomla/js/page.js

js mebel-3d.ru collected 2026-09-25 18:42:08 UTC 2,800 bytes, 101 lines download raw bytes

1(function (window, $) {
2    var $doc = $(document);
3    // Common functions
4    var OE = {};
5
6    // Make it global
7    window.OE = OE;
8})(window, jQuery);
9
10(function ($, OE, document) {
11    var $doc = $(document);
12
13    // Common functions
14    OE.parallax = {
15        caller: function () {
16            $.stellar({
17                horizontalScrolling: false
18            });
19        }
20    };
21})(jQuery, window.OE, window.document);
22
23jQuery(window).bind('load resize', function () {
24    OE.parallax.caller();
25});
26
27
28jQuery(window).load(function() {
29    jQuery("#loading").fadeOut("10", function () {
30        jQuery('#loading img').css("display", "none");
31        jQuery('#loading').css("display", "none");
32        jQuery('.loading').css("display", "none");
33    });
34	jQuery(document).find('body').addClass('loaded');
35
36    /**
37     * 1.0 - Method for parallax
38     * -----------------------------------------------------------------------------
39     */
40
41//    if ( jQuery('.parallax').length ) {
42//        jQuery('.parallax').each(function(){
43//            jQuery(this).parallax("30%", 0.1);
44//        })
45//    }
46//
47    if(jQuery('div.slotholder').length > 0) {
48        jQuery('div.slotholder').prepend('<div class="bk-responsive-slide"></div>');
49    }
50});
51jQuery(document).ready(function(){
52
53
54    /**
55     * Append module search in mega menu
56     * -----------------------------------------------------------------------------
57     */
58
59    if(jQuery('#tz-menu .plazart-megamenu').length > 0 && jQuery('#tz-top_search').length > 0) {
60        if(jQuery('.tz-header4').length > 0) {
61
62        }else {
63            jQuery('#tz-menu .plazart-megamenu').prepend(jQuery('#tz-top_search'));
64        }
65    }
66
67
68    /**
69     * Method for Header
70     * -----------------------------------------------------------------------------
71     */
72    var $_scrollTop  = '' ;
73    $_scrollTop      = jQuery(this).scrollTop();
74    if ( $_scrollTop >= 20 ) {
75        jQuery('.tz-header2').addClass('tz-header-animation');
76    }else{
77        jQuery('.tz-header2').removeClass('tz-header-animation');
78    }
79    jQuery(window).scroll(function(){
80        var $_scrollTop  = '' ;
81        $_scrollTop      = jQuery(this).scrollTop();
82        if ( $_scrollTop >= 20 ) {
83            jQuery('.tz-header2').addClass('tz-header-animation');
84        }else{
85            jQuery('.tz-header2').removeClass('tz-header-animation');
86        }
87    });
88
89    /**
90     * Method for Search
91     * -----------------------------------------------------------------------------
92     */
93    jQuery('.tz-search').click(function(){
94        jQuery('.tz-form-search').css('display','block');
95        jQuery('.tz-search-input').focus();
96    }) ;
97    jQuery('.tz-form-close').click(function(){
98        jQuery('.tz-form-search').css('display','none');
99    });
100
101});

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.