[WordPress] 外掛分享: Smoothscroller

首頁外掛目錄 › Smoothscroller
WordPress 外掛 Smoothscroller 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
800+
安裝啟用
★★★★
4.9/5 分(7 則評價)
1972 天前
最後更新
問題解決
WordPress 4.0+ v1.0.0 上架:2015-09-20

內容簡介

此外掛會為同一頁面上的錨連結增加平滑捲動的效果。
您可以將此效果套用至所有文章/頁面或特定文章/頁面,並調整滾動速度。

錨連結是透過 id 屬性綁定的。

對於源/起始元素,可以像這樣連結到目標,其中 href 屬性是目標 id:<a href="#example"></a>

對於目標元素,您可以用相應的 id 屬性,例如: <h2 id="example">the target</h2>

使用方法

可以在「設定」>「平滑捲動」中找到此外掛的設置。

選擇套用於所有文章和頁面

僅在主頁面上套用

僅在某些頁面上套用

僅在某些文章上套用

選擇滾動速度

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Smoothscroller」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon