1 2 3 4/* ì¤í¬ë¡¤ì ì§ì 컨í ì¸ ì í´ëì¤ ì¶ê° (ì¤í¬ë¡¤ ì ëë©ì´ì ) */ 5$(window).on('scroll', function() { 6 $('.scroll_animation_box').each(function() { 7 if (checkVisible($(this))) { 8 $(this).addClass('scroll_animation_open'); 9 } 10 11 }); 12}); 13 14function checkVisible( elm, eval ) { 15 eval = eval || "object visible"; 16 var viewportHeight = $(window).height(), // Viewport Height 17 scrolltop = $(window).scrollTop(), // Scroll Top 18 y = $(elm).offset().top, 19 elementHeight = $(elm).height(); 20 21 if (eval == "object visible") return ((y < (viewportHeight + scrolltop)) && (y > (scrolltop - elementHeight))); 22 if (eval == "above") return ((y < (viewportHeight + scrolltop))); 23}; 24/* // ì¤í¬ë¡¤ì ì§ì 컨í ì¸ ì í´ëì¤ ì¶ê° (ì¤í¬ë¡¤ ì ëë©ì´ì ) */ 25 26
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.