PageSourceSearch

https://tcvn.gov.vn/wp-content/themes/Tcvn/asset/js/site.js

js tcvn.gov.vn collected 2026-10-01 11:52:29 UTC 1,224 bytes, 46 lines download raw bytes

1
2/*********** SHOW SCROLL TO TOP ****************/
3jQuery(document).ready(function($){
4    $(window).scroll(function () {
5        if ( $(this).scrollTop() > 400 )
6            $("#totop").fadeIn();
7        else
8            $("#totop").fadeOut();
9    });
10
11    $("#totop").click(function () {
12        $("body,html").animate({ scrollTop: 0 }, 800 );
13        return false;
14    });
15
16    // Move language menu item to last
17    var parent = $("#header_menu > ul");
18    if (parent) {
19        var childToMoveLast = $("> li.menu-item.wpml-ls-item", parent).remove();
20        if (childToMoveLast) {
21            parent.append(childToMoveLast[0]);
22        }
23    }
24});
25
26/************ TAKE HAND OFF OVERLAY FOR TABLE LOADING **********/
27function overlay_fadeIn(table) {
28    jQuery("#overlay").css({
29        opacity : 0.5,
30        top     : table.offset().top,
31        left    : table.offset().left,
32        width   : table.outerWidth(),
33        height  : table.outerHeight()
34    });
35
36    jQuery("#img-load").css({
37        top  : (table.height() / 2),
38        left : (table.width() / 2)
39    });
40
41    jQuery("#overlay").fadeIn();
42}
43
44function overlay_fadeOut() {
45    jQuery("#overlay").fadeOut();
46}

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.