1// ì본ì¶ì² http://blog.bits.kr/90 - ì´ë¤ ì©ëë¡ë ìì ë¡ì´ ì¬ì©ê°ë¥. ìì /ë°°í¬ë ë§ìëë¡.. 2// ìì ì§ì´ìë¹ 2013-04-30 3$(function(){ 4 var $win = $(window); 5 var top = $(window).scrollTop(); // íì¬ ì¤í¬ë¡¤ë°ì ìì¹ê°ì ë°íí©ëë¤. 6 7 /*ì¬ì©ì ì¤ì ê° ìì*/ 8 var speed = 1000; // ë°ë¼ë¤ë ìë : "slow", "normal", or "fast" or numeric(ë¨ì:msec) 9 var easing = 'linear'; // ë°ë¼ë¤ëë ë°©ë² ê¸°ë³¸ ëê°ì§ linear, swing 10 var $layer = $('#stv_list'); // ë ì´ì´ ì ë í 11 var layerTopOffset = 0; // ë ì´ì´ ëì´ ìíì , ë¨ì:px 12 $layer.css('position', 'absolute'); 13 /*ì¬ì©ì ì¤ì ê° ë*/ 14 15 // ì¤í¬ë¡¤ ë°ë¥¼ ë´ë¦° ìíìì 리íë ì íì ê²½ì°ë¥¼ ìí´ 16 if (top > 0 ) 17 $win.scrollTop(layerTopOffset+top); 18 else 19 $win.scrollTop(0); 20 21 //ì¤í¬ë¡¤ì´ë²¤í¸ê° ë°ìíë©´ 22 $(window).scroll(function(){ 23 yPosition = $win.scrollTop() - 123; 24 if (yPosition < 0) 25 { 26 yPosition = 0; 27 } 28 $layer.animate({"top":yPosition }, {duration:speed, easing:easing, queue:false}); 29 }); 30});
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.