Linux 软件免费装

Super Light Animated Scroll to id

开发者 dlawp
更新时间 2020年2月10日 23:57
PHP版本: 7.0 及以上
WordPress版本: 5.3.2
版权: GPLv2 or later
版权网址: 版权信息

标签

links javascript jquery scroll animation anchor scrolling animate smooth

下载

0.1

详情介绍:

Usage Add HTML id attribute to element you want to scroll to. Example: ` Header we will be drawn to smoothly! Now add hash to href attribute and classsl-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?
  1. Go to Appearance -> Menus.
  2. Make sure you have enabled classes in Screen Options (top right corner).
  3. Create new Custom Link
  4. Add your anchor in URL of the custom link: /#your-anchor
  5. Insert special class to the custom link: sl-animated-scroll
  6. Save and try it!

安装:

  1. Upload your plugin folder to the '/wp-content/plugins' directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.

升级注意事项:

There is no need to upgrade just yet.

更新日志:

0.1