
內容簡介
Scrollr 是一款輕量級的外掛,幫助用戶連結到頁面特定區域並平滑滾動,避免瀏覽器的「跳動」行為。此外掛簡單易用,適合用於單頁導航和重要區域的平滑滾動。
【主要功能】
• 滾動到頁面特定區域
• 提供「回到頂部」按鈕
• 無需複雜的設定介面
外掛標籤
開發者團隊
原文外掛簡介
Scrollr is a lightweight tool that helps you to link to a page’s section and to smothly scroll to it. This way, it bypasses the browsers’ “bumping-jumping” behaviour for the in-page linking.
Scroll to page’s section
Currently there’s no UI settings, scrolling works with the plugin’s default settings. To make the linking to the targeting page’s section, you just have to add a “scrollr” class. The idea is to keep things lightweight and simple. If there’s many user requests in the future, we’ll consider making the UI options like scrolling speed etc.
Push to top
Another available option is scrolling up to the page’s top, i.e. usually labeled as “back to top”.
For this option you can use the button block that comes with the plugin. It is available from the regular WordPress block inserter. Just search for “Scrollr” or “Push to top” from the block inserter.
Conclusion
Basically, Scrollr may help you to create:
One page navigation
Documentation page
Smooth Scrolling to important sections
Back to top button
