時間経過で自動に指定の要素にスムーズにスクロールしたいです。。。
どなたか、わかりますか?
例:
これは動きません。。。
$(document).ready(function(){
$('html, body').delay(6500).animate({
scrollTop: $('#box').offset().top
}, 1500, "swing");
});
投稿2014/11/13 07:13
時間経過で自動に指定の要素にスムーズにスクロールしたいです。。。
どなたか、わかりますか?
例:
これは動きません。。。
$(document).ready(function(){
$('html, body').delay(6500).animate({
scrollTop: $('#box').offset().top
}, 1500, "swing");
});
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。