Linux 软件免费装
Banner图

AJO Animate

开发者
更新时间 2026年6月30日 21:07
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

lightweight animate on scroll animation css animation scroll animation

下载

1.0

详情介绍:

AJO Animate is a lightweight, performance-optimized WordPress plugin that allows you to animate elements simply by adding CSS classes. Instead of loading heavy libraries like jQuery or full animate.css files, this plugin uses the modern browser IntersectionObserver API to keep your site lightning fast. Animations trigger only once when the element enters the viewport (15% threshold), saving browser resources. It uses a unique ajoanim- prefix for all classes, functions, and files to ensure zero conflicts with other themes or plugins. Available Animations How to Use
  1. Go to AJO Animate in your WordPress admin menu to see the full class reference.
  2. Edit any page or post.
  3. Select a block (e.g., a Group, Paragraph, Image, or Heading block).
  4. Under the block settings panel (typically in the Advanced section), paste the desired animation class (e.g., ajoanim-fade-in) into the "Additional CSS class(es)" field.
  5. Save and preview your page!

安装:

  1. Upload the ajo-animate folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Navigate to 'AJO Animate' in your admin dashboard for instructions and a list of available CSS classes.

常见问题:

Does this affect my website's performance?

No! It is built with vanilla JavaScript and the IntersectionObserver API, which is highly optimized for modern browsers compared to older scroll-event listeners.

Can I change the animation duration?

By default, all animations take 1 second. You can override this in your theme's Custom CSS by targeting .ajoanim-trigger { animation-duration: 0.5s !important; }.

更新日志:

1.0.0