Descriere
Usage
Add HTML id attribute to element you want to scroll to.
Example:
<h1 id="your-anchor">Header we will be drawn to smoothly!</h1>
Now add hash to href attribute and class sl-animated-scroll
to an A tag or element containing A tag.
Example:
<a href="#your-anchor" class="sl-animated-scroll">
Get me smoothly to my anchor!
</a>
Try it.
How to hook menu / nav links?
-
Go to Appearance -> Menus.
-
Make sure you have enabled classes in Screen Options (top right corner).
-
Create new Custom Link
-
Add your anchor in URL of the custom link:
/#your-anchor
-
Insert special class to the custom link:
sl-animated-scroll
-
Save and try it!
Support
If any problems, questions or suggestions please contact us at support@dlawp.pl
GitHub: https://github.com/dlawp/wp-plugin-super-light-animated-scroll
Instalare
- Upload your plugin folder to the ‘/wp-content/plugins’ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
Întrebări frecvente
There are no FAQ just yet.
Verificări
Nu există nicio verificare pentru acest modul.
Contributori și dezvoltatori
„Super Light Animated Scroll to id” este un software open-source. La acest modul au contribuit următoarele persoane.
ContributoriTradu „Super Light Animated Scroll to id” în limba ta.
Te interesează dezvoltarea?
Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.
Istoric modificări
0.1
- First release