PageSourceSearch

https://kololet.com/local/templates/kololet/js/jquery.messages.js

js kololet.com collected 2026-10-09 17:54:50 UTC 1,198 bytes, 31 lines download raw bytes

1function getMessage( msg, type, delay ){
2    switch(type){
3        case 'error':
4            cssClass = 'red-popup-thor';
5            break;
6        case 'accept':
7            cssClass = 'popup-thor';
8            break;
9        case 'message':
10        default:
11            cssClass = 'green-popup-thor';
12    }
13
14    if(delay == undefined){
15        delay = 3000;
16    }
17
18    if( $('#message-box').length == 0 ){
19        $('body').append('<div class="tip-message" id="message-box"><div class="tip-hold"><a href="#" class="btn-close" onclick="$(this).parents(\'#message-box\').remove();return false;">close</a><span>' + msg + '</span></div></div>');
20    } else {
21        if( $('#message-box').css('display') == 'none' ){
22            $('#message-box').removeClass('red-popup-thor green-popup-thor popup-thor').addClass(cssClass).find('span').html(msg);
23        } else {
24            $('#message-box').remove();
25            $('body').append('<div class="tip-message" id="message-box"><div class="tip-hold"><a href="#" class="btn-close">close</a><span>' + msg + '</span></div></div>');
26        }
27    }
28    $('#message-box').addClass(cssClass);
29    $('#message-box').fadeIn(200).delay(delay).fadeOut(400);
30
31}

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.