私はSmoothDivScroll 1.1を使用していますが、ブラウザでズームアウトするまですべて正常に動作しています(Windows 7でテストされたFirefox、Chrome、およびSafari)(スクローラーでズームインしても停止しません)。SmoothDivScroll のロード方法は次のとおりです。
$(window).load(function() {
$("div#projectenRijEen").smoothDivScroll({});
$("div#projectenRijTwee").smoothDivScroll({});
$("div#projectenRijDrie").smoothDivScroll({});
$("div#projectenRijEen").bind("mouseover",function(){$(this).smoothDivScroll("stopAutoScroll")}).bind("mouseout",function(){$(this).smoothDivScroll("startAutoScroll")});
$("div#projectenRijTwee").bind("mouseover",function(){$(this).smoothDivScroll("stopAutoScroll")}).bind("mouseout",function(){$(this).smoothDivScroll("startAutoScroll")});
$("div#projectenRijDrie").bind("mouseover",function(){$(this).smoothDivScroll("stopAutoScroll")}).bind("mouseout",function(){$(this).smoothDivScroll("startAutoScroll")})
});
私は次のことを試しました:
$(window).load(function() {
var $scrollElement = $("div#projectenRijEen");
$scrollElement.smoothDivScroll({});
$(window).resize(function () {
$scrollElement.data({
motherElementOffset: $scrollElement.offset().left
});
});
});
http://www.codingforums.com/showthread.php?t=241455にありますが、動作させることができませんでした
ズームアウト時にスクローラーのスクロールを維持する方法を教えてください。