1/* ==================================================================================================== * 2 * 3 * WEBIS MODULE JAVASCRIPT - BANNER 4 * COPYRIGHT © WEBIS.KR ALL RIGHTS RESERVED. 5 * 6 * ==================================================================================================== */ 7 8'use strict'; 9 10(function($) { 11 12 /* WINDOW RESIZE EVENT */ 13 $(window).on('resize', function() { 14 15 }); 16 17 /* WINDOW CLICK EVENT */ 18 $(window).on('click', function() { 19 20 }); 21 22 /* WINDOW KEYUP EVENT */ 23 $(window).on('keyup', function(event) { 24 25 }); 26 27 /* WINDOW SCROLL EVENT */ 28 $(window).scroll(function() { 29 30 }); 31 32 /* DOCUMENT READY EVENT */ 33 $(document).ready(function() { 34 35 /** 36 * WEBIS INTERNAL FUNCTION - COOKIE 37 */ 38 var webisSetCookie = function (getName, getValue, getExpire) { 39 var expireTime = new Date(); 40 expireTime.setTime(expireTime.getTime() + (60 * 60 * 1000 * getExpire)); 41 document.cookie = getName + "=" + encodeURIComponent(getValue) + "; path=/; expires=" + expireTime.toUTCString() + ";"; 42 }; 43 44 /** 45 * WEBIS TOP BANNER CLOSE ACTION 46 */ 47 $(document).on('click', '[data-we-action="webis_top_banner_close"]', function(e) { 48 49 e.preventDefault(); 50 51 var $webis_this = $(this); 52 var $webis_options = $webis_this.data('we-options'); 53 var $webis_zone = $webis_this.data('we-target-zone'); 54 55 // COOKIE SET 56 if ($webis_options.cookie && $webis_options.expire > 0) { 57 webisSetCookie($webis_options.cookie, 'Y', $webis_options.expire); 58 } 59 60 // TARGET REMOVE 61 $('[data-we-set-zone="' + $webis_zone + '"]').fadeOut(200, function() { 62 $(this).remove(); 63 if ($('#we_ad').children().length === 0) { 64 $('#we_ad').remove(); 65 } 66 }); 67 }); 68 }); 69 70 /* WINDOW LOAD EVENT */ 71 $(window).load(function() { 72 73 }); 74}(jQuery));
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.