1/* 22017. 05 04 SJW 3 4기존 리ì¬ì´ì¦ íë ìì¤ë¥¼ ë¤ ìì íê³ .. 5ê°ë¨í 컨í ì´ë ê°ë¡ê°ë³´ë¤ ì´ë¯¸ì§ ìë ê°ë¡ê°ì´ í´ê²½ì° ë²í¼í´ëì¤ ì¶ê°íê³ í´ë¦ì´ë²¤í¸ 주기 6*/ 7 8function resizePhoto() { 9 10 var $_container = $('#article-view-content-div'); 11 var articleViewDivWidth = $_container.width(); 12 13 $_container.find('img').each(function(e){ 14 if($(this).closest('figure').length) { 15 var ViewimageObj = new Image(); 16 var $_thisImgObj = $(this); 17 ViewimageObj.src = $(this).attr("src"); 18 ViewimageObj.onload = function() { 19 imageWidth = this.width; 20 if(articleViewDivWidth <= imageWidth) { 21 $_thisImgObj.closest('figure').addClass('bigsize'); 22 } 23 }; 24 25 } 26 }); 27 28 $_container.on('click', 'figure.bigsize', function(e){ 29 $('<form action="/news/userArticlePhoto.html" method="POST"><input type="hidden" name="src" value="'+$(this).find('img').attr('src')+'"></form>').appendTo('body').submit(); 30 31 //var src = $(this).find('img').attr('src'); 32 //top.location.href = src; 33 }); 34}
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.