ページ上の「スティッキー」要素を許可するために、 2 つのスクリプト ( FixToとBreakpoints ) を使用しています。ウィンドウのサイズを変更すると問題が発生します。FixTo 機能を破棄する必要があります。これで成功した人はいますか:
$(window).bind('enterBreakpoint1024',function() {
$('#log').text('debug: Entering 1024 breakpoint');
// Sticky Elements (scroll)
$('#stats').fixTo('.container');
$('#extra').fixTo('.container', {mind: '#stats'});
$('#right').fixTo('.container');
});
$(window).bind('exitBreakpoint1024',function() {
$('#log').text('debug: Exiting 1024 breakpoint');
// Need to Unbind, Destroy, or Remove the fixTo() function
});