Опис
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
Встановлення
- Upload your plugin folder to the ‘/wp-content/plugins’ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
Часті питання
There are no FAQ just yet.
Відгуки
Для цього плагіна немає відгуків.
Учасники та розробники
“Super Light Animated Scroll to id” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
УчасникиПерекладіть “Super Light Animated Scroll to id” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
0.1
- First release