PageSourceSearch

https://10ambugo.com/221216/js/common.js

js 10ambugo.com collected 2026-10-04 22:09:30 UTC 1,826 bytes, 70 lines download raw bytes

1
2$(document).ready(()=>{
3    $('#bugo_body a.del').click( function(e) {
4        e.stopPropagation();
5        e.preventDefault();
6        bpopup = $('#alert_del_body').bPopup({
7            easing: 'easeOutBack', //uses jQuery easing plugin
8            speed: 450,
9            transition: 'slideDown'
10        });
11        $('#alert_del_body .yes').attr('href', this.href);
12        return false;
13    });
14
15    $('.to_login').click(function(e) {
16        e.stopPropagation();
17        e.preventDefault();
18        bpopup = $('#alert_login_body').bPopup({
19            easing: 'easeOutBack', //uses jQuery easing plugin
20            speed: 450,
21            transition: 'slideDown'
22        });
23        $('#alert_login_body > .close_btn_area > a').attr('href', this.href);
24        return false;
25    });
26    
27    if (window.innerHeight > $('body').height()) {
28        $('#bottom_footer').css({
29            position: 'fixed',
30            left: '0',
31            bottom: '0'
32         });
33    }
34
35    $(window).resize(setBottomBar);
36
37});
38
39
40
41const toggleTopMenu = (f) => {
42	if (f) {
43		$('#top_menu').show('slide', { direction: 'left' }, 300);
44	}
45	else {
46		$('#top_menu').hide('slide', { direction: 'left' }, 300);
47	}
48	return false;
49};
50
51
52const setBottomBar = ( ) => {
53    // alert(window.innerHeight + ', '+ org_height);
54    var footer = $('#bottom_footer').css('position')=='fixed' ? $('#bottom_footer').height() : 0; 
55    if (window.innerHeight > $('body').height()+footer+(footer*.6)) {
56        $('#bottom_footer').css({
57            position: 'fixed',
58            left: '0',
59            bottom: '0'
60         });
61    }
62    else {
63        $('#bottom_footer').css({
64            position: 'relative',
65            left: 'unset',
66            bottom: 'unset'
67         });
68    }
69};
70

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.