PageSourceSearch

https://fib-international.org/templates/yoo_luna/js/theme.js

js fib-international.org collected 2026-09-24 08:25:56 UTC 1,879 bytes, 62 lines download raw bytes

1/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */
2
3/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */
4
5jQuery(function($) {
6
7    var config = $('html').data('config') || {},
8        navbar_height = $('.tm-navbar-container').outerHeight();
9
10    // First block viewport height
11    $('.tm-navbar-container:not(.tm-navbar-absolute) + .uk-height-viewport').css({'height': 'calc(100vh - '+ navbar_height +'px)'});
12
13    // Social buttons
14    $('article[data-permalink]').socialButtons(config);
15
16    // fit footer
17    (function(main, meta, fn){
18
19        if (!main.length) return;
20
21        fn = function() {
22
23            main.css('min-height','');
24
25            meta = document.body.getBoundingClientRect();
26
27            if (meta.height <= window.innerHeight) {
28                main.css('min-height', (main.outerHeight() + (window.innerHeight - meta.height))+'px');
29            }
30
31            return fn;
32        };
33
34        UIkit.$win.on('load resize', fn());
35
36    })($('#tm-main'))
37    
38
39    if($('.uk-article-title').length >0)
40    {
41        var website = jQuery('table thead tr').find('th:nth-child(2)').html();
42        if(website == 'Website')
43        {
44            jQuery('table tbody tr').each(function(){
45                if ( jQuery(this).find("td:nth-child(5)").length > 0) {
46                    jQuery('td:nth-child(2)',this).remove().insertAfter(jQuery('td:last',this));     
47                }
48            });
49            if ( jQuery('table thead tr').find('th:nth-child(5)').length > 0) {
50                jQuery('table thead tr').find('th:nth-child(2)').remove().insertAfter(jQuery('table thead tr').find('th:last'));
51            }
52        }
53    }
54    
55    $('.uk-subnav').find('[data-uk-dropdown]').each(function(i, item) {
56        UIkit.dropdown(item);
57    });
58    
59});
60
61
62

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.