2012-03-10 13 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 

}); 
関連する問題