
內容簡介
此外掛會為同一頁面上的錨連結增加平滑捲動的效果。
您可以將此效果套用至所有文章/頁面或特定文章/頁面,並調整滾動速度。
錨連結是透過 id 屬性綁定的。
對於源/起始元素,可以像這樣連結到目標,其中 href 屬性是目標 id:<a href="#example"></a>
對於目標元素,您可以用相應的 id 屬性,例如: <h2 id="example">the target</h2>
使用方法
可以在「設定」>「平滑捲動」中找到此外掛的設置。
選擇套用於所有文章和頁面
僅在主頁面上套用
僅在某些頁面上套用
僅在某些文章上套用
選擇滾動速度
外掛標籤
開發者團隊
原文外掛簡介
This plugin adds a smooth scroll effect motion to anchor links on the same page.
You can apply the effect to all posts/pages or certain posts/pages and adjust scroll speed.
The links are bound by the id attribute.
For the source/origin element, link to the target like so, with a href attribute of the target id
For the target element, you give it a corresponding id attribute like so –
the target
Usage
The settings are found via the dashboard Settings > Smoothscroller
Select to apply to all post and pages
Select to have on home page only
Select to have on certain pages only
Select to have on certain posts only
Choose the speed of the scroll
