728x90 반응형 banner1 jquery로 만든... 간단한 떠다니는 배너 $(document).ready(function(){ var currentPosition = parseInt($("#mscroll").css("top")); $(window).scroll(function() { var position = $(window).scrollTop(); $("#mscroll").stop().animate({"top":position+currentPosition+"px"},1000); }); });#mscroll{width:60px;height:200px;position: absolute;left:430px;z-index:1000;top:-300px;} 2010. 10. 15. 이전 1 다음 728x90 반응형