1var tag = document.getElementsByTagName('*'); 2 3for(var i=0,l=tag.length;i<l;i++) { 4 var classes = tag[i].className.split(' '); 5 for(var j=0,k=classes.length;j<k;j++) { 6 if(classes[j].toLowerCase() === 'img_on') { 7 tag[i].onmouseover = menuOn; 8 tag[i].onmouseout = menuOn; 9 10 var imgs = tag[i].getElementsByTagName('img'); 11 for(var m=0,n=imgs.length;m<n;m++) { 12 loadImage(imgs[m].src.replace(/.gif/i,'_on.gif'),function(){}); 13 } 14 } 15 } 16} 17 18 19 20function menuOn(e) { 21 if(window.event) { 22 var e = window.event; 23 var t = e.srcElement; 24 }else{ 25 var t = e.target; 26 } 27 28 if(t.tagName.toLowerCase() !== 'img') return; 29 30 if(e.type.toLowerCase() === 'mouseover') { 31 t.src = t.src.replace(/.gif/i,'_on.gif'); 32 }else if(e.type.toLowerCase() === 'mouseout') { 33 t.src = t.src.replace(/_on.gif/i,'.gif'); 34 } 35} /* function */ 36 37function loadImage(b,c){ 38 var a=new Image(); 39 a.onload=function(){ 40 a.onload=null; 41 c(a); 42 }; 43 a.src=b; 44} 45/** 46 * ìì§ì´ë ë°°ë Jquery Plug-in 47 * @author cafe24 48 */ 49 50;(function($){ 51 52 $.fn.floatBanner = function(options) { 53 options = $.extend({}, $.fn.floatBanner.defaults , options); 54 55 return this.each(function() { 56 var aPosition = $(this).position(); 57 var node = this; 58 59 $(window).scroll(function() { 60 var _top = $(document).scrollTop(); 61 _top = (aPosition.top < _top) ? _top : aPosition.top; 62 63 setTimeout(function () { 64 $(node).stop().animate({top: _top}, options.animate); 65 }, options.delay); 66 }); 67 }); 68 }; 69 70 $.fn.floatBanner.defaults = { 71 'animate' : 500, 72 'delay' : 500 73 }; 74 75})(jQuery); 76 77/** 78 * 문ì 구ëí ìì 79 */ 80$(document).ready(function(){ 81 $('#banner, #aside').floatBanner(); 82}); 83 84 85 86 87 88 $(document).ready(function(){ 89 90 aa = false 91 92 $(window).scroll(function(){ 93 var hidden = true 94 95 $('#zz').text($(window).scrollTop()); 96 $('#bb').text($('#contents').height()); 97 //ì¼íì°ì°ì (ì¡°ê±´) ? ì°¸ ; ê±°ì§ 98 if ($(window).scrollTop() >= $(document).height() - 1500){ 99 $(aa?'#open_box':'#fly').stop().animate({"right":0}) 100 101 } else if ($(window).scrollTop() < $(document).height() - 1500){ 102 $('#open_box').stop().animate({"right":-80}) 103 $('#fly').stop().animate({'right':-400},'slow') 104 } 105 106 $('#close').click(function(){ 107 //$('#fly').stop().css('display' , 'none') 108 $('#fly').stop().animate({'right':"-400px"}) 109 $('#open_box').stop().animate({'right':'0px'}) 110 aa = true 111 }); 112 $("#open_box").click(function() { 113 $("#open_box").stop().animate({"right":"-80px"}); 114 $("#fly").stop().animate({"right":"0px"}); 115 aa = false 116 117 }); 118 }); 119 }); 120//window popup script 121function winPop(url) { 122 window.open(url, "popup", "width=300,height=300,left=10,top=10,resizable=no,scrollbars=no"); 123} 124/** 125 * document.location.href split 126 * return array Param 127 */ 128function getQueryString(sKey) 129{ 130 var sQueryString = document.location.search.substring(1); 131 var aParam = {}; 132 133 if (sQueryString) { 134 var aFields = sQueryString.split("&"); 135 var aField = []; 136 for (var i=0; i<aFields.length; i++) { 137 aField = aFields[i].split('='); 138 aParam[aField[0]] = aField[1]; 139 } 140 } 141 142 aParam.page = aParam.page ? aParam.page : 1; 143 return sKey ? aParam[sKey] : aParam; 144}; 145 146 147/** 148 * paging HTML strong tagë¡ ë³í 149 */ 150function convertPaging(){ 151 152 $('.paging ol a').each(function() { 153 var sPage = $(this).text() ? $(this).text() : 1; 154 155 if (sPage == '['+getQueryString('page')+']') { 156 $(this).parent().html('<strong title="íì¬íì´ì§">'+sPage+'</strong>'); 157 } else { 158 var sHref = $(this).attr('href'); 159 $(this).parent().html('<a href="'+sHref+'" title="'+sPage+'íì´ì§ë¡ ì´ë">'+sPage+'</a>'); 160 } 161 }); 162} 163 164/* ì¦ê¸°ì°¾ê¸° */ 165 166function bookmark(){ 167window.external.AddFavorite('http://skin-skin2.humont4611.cafe24.com/', 'ì¤ì©ì£¼ì No.1 ììëì´ í´ëª¬í¸') 168}
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.