1function makeTopBannerBlock(info, type){ 2 3 let now = new Date(); 4 5 let addList = new Array(); 6 7 let seqNo = info.seqNo; 8 9 let fullRootEng = info.fullRootEng; 10 let fullRootKr = info.fullRootKr; 11 12 let link = info.link; 13 14 let titleEng = info.titleEng; 15 let titleKr = info.titleKr; 16 17 let topBannerId= "topBanner"; 18 19 let startDate = info.startDate; 20 let endDate = info.endDate; 21 22 const d1 = new Date(startDate); 23 const d2 = new Date(endDate); 24 25 if(getCookie(topBannerId) != "end"){ 26 27 addList.push("<div class=\"swiper-slide topCloseSlide\">"); 28 29 if(link!=""){ 30 if (link.includes('ticketcoupon')) { 31 // addList.push("<a class=\"banner-clip\" href=\"" + link + "\" style=\"background-image: url(" + fullRootKr + ");\" onclick=\"ticketCoupon('" + link + "'); return false;\">"); 32 addList.push("<a class=\"banner-clip\" href=\"#\" onclick=\"newTicketCouponBannerHref('" + link + "', " + seqNo + ",'" + titleKr + "', '" + type + "')\" style=\"background-image: url(" + fullRootKr + ");\" >"); 33 }else { 34 // addList.push("<a class=\"banner-clip\" href=\"" + link + "\" style=\"background-image: url(" + fullRootKr + ");\" >"); 35 addList.push("<a class=\"banner-clip\" href=\"#\" onclick=\"newBannerHref('" + link + "', " + seqNo + ",'" + titleKr + "', '" + type + "')\" style=\"background-image: url(" + fullRootKr + ");\" >"); 36 } 37 }else{ 38 addList.push("<a class=\"banner-clip\" href=\"#\" style=\"background-image: url("+fullRootKr+");\" >"); 39 } 40 41 addList.push(" <img src=\""+fullRootKr+"\" alt=\"\">"); 42 addList.push(" </a>"); 43 44 addList.push("</div>"); 45 46 $("#topBannerList").append(addList.join('')); 47 48 } 49 50 51} 52 53function ticketCoupon(link) {
54 let checkUrl = getCookie("Authorization"); 55 56 if (checkUrl != "") { 57 window.open(link, '_blank', 'width=500, height=550, top=100, left=100, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbar=no'); 58 return false; 59 }else { 60 menuMove('shop','login');return false; 61 } 62} 63 64 65function closeTopBanner(){ 66 $("#topBanner").remove(); 67} 68 69function makeTopBannerCookie(){ 70 setCookie("#topBanner", "end", 1); 71 $("#topBanner").remove(); 72}
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.