1//2023/7/3 birdshiu æ°å¢ï¼çºæååºéæå®¢è£½çå½åºå¼è¦çªç js 2//************ function ******************* 3 4// åis-center åºä¸ça 5$(function () { 6 $('.is-center a').each(function () { 7 $(this).attr("href", "#"); 8 }) 9}) 10 11function NcfaPopupper(clickedA) { // 給 a ç click ç¨ 12 let $clickedA = $(clickedA); // 被æçé£å a tag 13 let $hide = $clickedA.siblings('.hidden'); // éè¿ class=hidden ç div 14 let title = $clickedA.attr('title'); 15 let content = $hide.html(); 16 17 Swal.fire({ 18 title: title, 19 html: '<div class="align-left">' + content + '</div>', 20 showCloseButton: true, 21 width: '1200px', 22 showConfirmButton: false, 23 }); 24 25 //_SetNcftaPopupper(title, content); 26} 27 28function _SetNcftaPopupperTitle(value) { 29 $('#ncftaPopupperTitle').text(value); 30} 31 32function _SetNcftaPopupperContent(value) { 33 $('#ncftaPopupperContent').html(value); 34} 35 36function _SetNcftaPopupper(titleValue, contentValue) { 37 _SetNcftaPopupperTitle(titleValue); 38 _SetNcftaPopupperContent(contentValue); 39 _ShowNcftaPopupper(); 40} 41 42function _ShowNcftaPopupper() { 43 $('#ncftaPopupperOverlay').show(); 44} 45 46function _HideNcftaPopupper() { 47 $('#ncftaPopupperOverlay').hide(); 48} 49 50//************* event **************** 51$(function () { 52 $('#ncftaPopupperClose').on('click', function () { 53 _HideNcftaPopupper(); 54 }); 55 $('#ncftaPopupperOverlay').on('click', function () { 56 _HideNcftaPopupper(); 57 }) 58 $('#ncftaPopupperForm').on('click', function (e) { 59 e.stopPropagation(); 60 }) 61})
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.