1/* img hover */ 2/* example 3<img src="/_image/common/ì´ë¯¸ì§.jpg" alt="" title="" onmouseover="imgOver(this)" onmouseout="imgOver(this,'out')"> 4*/ 5function imgOver(imgEl,opt) { 6 if(imgEl.getAttribute('checked')) return; 7 var src = imgEl.getAttribute('src'); 8 var ftype = src.substring(src.lastIndexOf('.'), src.length); 9 if (opt == 'out') imgEl.src = imgEl.src.replace("_over"+ftype, ftype); 10 else imgEl.src = imgEl.src.replace(ftype, "_over"+ftype); 11} 12 13/* ì¦ê²¨ì°¾ê¸° */ 14function addBookmark(){ 15 var url = root_url; 16 var title = document.title; 17 if(window.sidebar && window.sidebar.addPanel){ 18 /* Mozilla Firefox Bookmark - Works With Opening In A Side Panel Only */ 19 window.sidebar.addPanel(title, url, ""); 20 }else if(window.opera && window.print) { 21 /* Opera Hotlist */ 22 alert("ì´ ë¸ë¼ì°ì ììë ì¦ê²¨ì°¾ê¸° 기ë¥ì ì¬ì©í ì ììµëë¤.\nCtrl í¤ì D í¤ë¥¼ ëìì ëë¬ì ì¦ê²¨ì°¾ê¸°ì ì¶ê°í ì ììµëë¤."); 23 return true; 24 }else if(window.external){ 25 /* IE Favorite */ 26 try{ 27 window.external.AddFavorite(url, title); 28 }catch(e){ 29 alert("ì´ ë¸ë¼ì°ì ììë ì¦ê²¨ì°¾ê¸° 기ë¥ì ì¬ì©í ì ììµëë¤.\nCtrl í¤ì D í¤ë¥¼ ëìì ëë¬ì ì¦ê²¨ì°¾ê¸°ì ì¶ê°í ì ììµëë¤."); 30 } 31 }else{ 32 /* Other - Google Chrome, Safari */ 33 alert("ì´ ë¸ë¼ì°ì ììë ì¦ê²¨ì°¾ê¸° 기ë¥ì ì¬ì©í ì ììµëë¤.\nCtrl í¤ì D í¤ë¥¼ ëìì ëë¬ì ì¦ê²¨ì°¾ê¸°ì ì¶ê°í ì ììµëë¤."); 34 } 35} 36 37/* ì²´í¬ë°ì¤ ì ì²´ì í */ 38/* example 39<input type="checkbox" onclick="cartCheckAll(this.checked)"> 40*/ 41function cartCheckAll(checked) { 42 $(':checkbox[name^="cno["], :checkbox[name^="wno["]').attrprop('checked', checked); 43} 44 45/* í ê¸ */ 46function toggle_view(selector, obj){ 47 var search = $('#'+selector+''); 48 var obj = $(obj); 49 if (search.css('display') == 'none') { 50 search.show(); 51 obj.addClass('active'); 52 } else { 53 search.hide(); 54 obj.removeClass('active'); 55 } 56} 57 58/* íë·° */ 59function tabover(name, no) { 60 var tabs = $('.tab_'+name+'').find('li'); 61 tabs.each(function(idx) { 62 var detail = $('.tabcnt_'+name+idx); 63 var link = $(this).find('a'); 64 if(no == idx) { 65 detail.show(); 66 link.addClass('active'); 67 } else { 68 detail.hide(); 69 link.removeClass('active'); 70 } 71 }) 72} 73 74/* ì¤í¬ë¡¤ ì´ë */ 75$(window).scroll(function(){ 76 var y=$(this).scrollTop(); 77 if( y > 150 ){ 78 $('.btn_scroll').fadeIn(); 79 } else { 80 $('.btn_scroll').fadeOut(); 81 } 82 if ($('.gnb').hasClass('fixed')) { 83 if( y > 230 ){ 84 $('.favorite .viewsub').fadeIn(); 85 } else { 86 $('.favorite .viewsub').fadeOut(); 87 } 88 } 89}); 90function scrollup(){ 91 $('html, body').animate({scrollTop:0}, 'slow'); 92} 93function scrolldown(){ 94 $('html, body').animate({scrollTop:$(document).height()}, 'slow'); 95}
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.