1var $ = $ || jQuery; 2var shadow = $('.shadow'), 3 popup = $('.popup'), 4 close_btn = popup.find('.fa-close'); 5$(window).on('scroll', function(){ 6 var win_height = $(window).height(); 7 var win_scroll_top = $(window).scrollTop(); 8 popup.css({top:win_scroll_top+(win_height-popup.height())/2}); 9}); 10$(window).on('resize', function(){ 11 var win_height = $(window).height(); 12 var win_scroll_top = $(window).scrollTop(); 13 popup.css({top:win_scroll_top+(win_height-popup.height())/2}); 14 shadow.height($(document).height()); 15}); 16close_btn.bind('click',function(){ 17 popup.hide(); 18 $('.title').html('') 19 popup.find('.video').html(''); 20 shadow.hide(); 21}) 22function show_video(embd, title){ 23 $('.title').html(title) 24 popup.find('.video').html(embd); 25 var win_height = $(window).height(); 26 var win_scroll_top = $(window).scrollTop(); 27 shadow.height($(document).height()); 28 shadow.show(); 29 popup.css({top:win_scroll_top+(win_height-popup.height())/2}); 30 popup.show(); 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.