Apraksts
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 <a href="#example"></a>
For the target element, you give it a corresponding id attribute like so – <h2 id="example">the target</h2>
izmantot
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
Uzstādīšana
This section describes how to install the plugin:
- Upload the
smoothscrollerfolder to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Options are in Settings => Smoothscroller
BUJ
-
How do I make a link on the same page
-
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
<a href="#example"></a>For the target element, you give it a corresponding id attribute like so –
<h2 id="example">the target</h2>
Atsauksmes
Autori un izstrādātāji
“Smoothscroller” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Smoothscroller” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.0.0
- Initial release.
21/08/15

