2012-03-10 4 views

답변

1

잘하면 jQuery 플러그인 http://flesler.blogspot.com/2007/10/jqueryscrollto.html을 사용하면 모든 것이 가능합니다.

당신이 달성하고자하는 실제 효과를 모르겠어요,하지만 난 잘 상상 해요, 당신은 아마 마우스 위치를 확인보다, 바닥 http://www.fredrikclement.com/#/series/selected/Redbull 예라면에서 이미지 미리보기 슬라이더이 같은 일을 할 그 특정한 div에있을 때. 그런 사용 무언가 : 당신이 제공하고 명확하게 볼 수 있습니다 링크 페이지 하단에

$('div').mousemove(function(e){ 
    var mouse_x = e.pageX, 
     mouse_y = e.pageY; 

    // here goes calculation code where you will decide how much to you want to 
    // scroll the div, basically plugin works with target, so you might need to create 
    // reference object with absolute position and change its position before you 
    // you can scroll 

}); 
관련 문제