當用戶單擊按鈕時,我正在使用它來平滑滾動到特定部分: window.scroll({ top: $(this).data('y'), left: 0, behavior: 'smooth' });
確定! 回上一頁