该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Mythic Smooth Scroll

描述

The Mythic Smooth Scroll plugin is a very lightweight jQuery plugin for adding smooth scrolling animations on single-page websites or on longer posts with various anchors.

The plugin features an optional offset for fixed/sticky headers to make sure it always scrolls beneath the content, as well as an adjustable manual offset amount to determine how far from the header/top of the screen the content will land when scrolled to.

安装

Click activate, and enjoy! The plugin will function for any links that go to a spot on the same page. You can adjust the plugin settings under the Settings > Mythic Smooth Scroll tab.

常见问题

How do I find my header’s ID?

Your header’s ID can be found by right-clicking it on your website, and selecting “inspect” or “inspect element”, depending on your browser. This will open your browser’s element inspector, which will display a list of your page’s source code elements. Simply look for the “header” element, and copy the content that appears after id= (not including the quotes).

评价

此插件暂无评价。

贡献者及开发者

“Mythic Smooth Scroll” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Mythic Smooth Scroll”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.4
Verified functionality with WP 5.6

1.0.3
Escaped # metacharacters

1.0.2
Added internationlization.
Added strict mode to JS.
Added data sanitization.

1.0.1
Adjusted settings page UI, and added FAQs.

1.0.0
Plugin published to WP directory.