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/* ì²´í¬ë°ì¤ ì ì²´ì í */ 14/* example 15<input type="checkbox" onclick="cartCheckAll(this.checked)"> 16*/ 17function cartCheckAll(checked) { 18 $(':checkbox[name^="cno["], :checkbox[name^="wno["]').attrprop('checked', checked); 19} 20 21/* í ê¸ */ 22function toggle_view(selector, obj){ 23 var search = $('#'+selector+''); 24 var obj = $(obj); 25 if (search.css('display') == 'none') { 26 search.show(); 27 obj.addClass('active'); 28 } else { 29 search.hide(); 30 obj.removeClass('active'); 31 } 32} 33 34/* íë·° */ 35function tabover(name, no) { 36 var tabs = $('.tab_'+name+'').find('li'); 37 tabs.each(function(idx) { 38 var detail = $('.tabcnt_'+name+idx); 39 var link = $(this).find('a'); 40 if(no == idx) { 41 detail.show(); 42 link.addClass('active'); 43 } else { 44 detail.hide(); 45 link.removeClass('active'); 46 } 47 }) 48} 49 50/* ì¤í¬ë¡¤ ì´ë */ 51$(window).scroll(function(){ 52 var y=$(this).scrollTop(); 53 if( y > 300 ){ 54 $('.btn_scroll').fadeIn(); 55 } else { 56 $('.btn_scroll').fadeOut(); 57 } 58 if ($('.gnb').hasClass('fixed')) { 59 if( y > 230 ){ 60 $('.favorite .viewsub').fadeIn(); 61 } else { 62 $('.favorite .viewsub').fadeOut(); 63 } 64 } 65}); 66function scrollup(){ 67 $('html, body').animate({scrollTop:0}, 'slow'); 68} 69function scrolldown(){ 70 $('html, body').animate({scrollTop:$(document).height()}, 'slow'); 71}
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.