Linux 软件免费装
Banner图

Animate on Scroll

开发者 aryadhiratara
thinkdigitalway
更新时间 2024年4月8日 11:50
PHP版本: 7.4 及以上
WordPress版本: 6.5
版权: GPLv2 or later
版权网址: 版权信息

标签

effect scroll animation slide effects zoom animate css animation fade scroll animation flip aos

下载

1.0.0 1.0.6 1.0.1 1.0.3 1.0.4 1.0.5 1.0.7 1.0.2

详情介绍:

Animate any Elements on scroll using the popular AOS JS library simply by adding class names. This plugin helps you integrate easily with AOS JS library to add any AOS animations (on scroll animation) to WordPress. It should work well with the native gutenberg core blocks or any page builder (tested with GenerateBlocks and Elementor) that provides an input field for adding custom class names to elements. About AOS AOS is a small JavaScript library built by Michał Sajnóg that allows you to add animated effects to HTML elements when they come into view as the user scrolls down a webpage. AOS provides a set of predefined animations using CSS that can be easily applied to elements using simple data attributes in the HTML code. Check out the AOS demo and documentation. How to add Animations? Simply add the desired AOS animation to your element class name with "aos-" prefix and the plugin will add the corresponding aos attribute to the element tag. Fade animations: Flip animations: Slide animations: Zoom animations: Animation Settings By default, the global animation settings are you can change that using filter: add_filter( 'aos_init', function($aos_init) { return ' var aoswp_params = { "offset":"200", "duration":"1800", "easing":"ease-in-out", "delay":"0", "once": false}; '; } ); or add the extra classes below to the element for individual settings. The plugin will add the corresponding aos attribute to the tag. Once behavior: Easing functions: Animation Duration: Animation Delay: (*new, added in 1.0.2) To Disable Animations On Specific Device @media ( your media query ) { html:not(.no-js) .aoswp-enabled [data-aos] { opacity: 1!important; -webkit-transform: none!important; transform: none!important; transition: none!important; transition-timing-function: unset!important; transition-duration: unset!important; transition-property: none!important; } }   Note Disclaimer This plugin doesn't add anything to your database and won't do any permanent change to your HTML, so you can safely deactivate and delete it when you no longer need it. USEFUL PLUGINS TO OPTIMIZE YOUR SITE'S SPEED: Other USEFUL PLUGIN:   == Frequently Asked Questions == Why AOS? AOS library has so many built in animations and the JavaScript is written in pure JS without any dependencies. Where is the Settings Page? This plugin doesn't has any settings page, since the animation executions are based from your element class. Does it works with any Page Builders? Yes, as long as your builder has input fields for adding custom class names. How to add the Animation? Simply add the desired AOS animation to your element class name with “aos-” prefix. Please read the plugin description. Is it customizable? Yes, the customizations are available using filter and class names. Please read the plugin description.

安装:

From within WordPress
  1. Visit Plugins > Add New
  2. Search for Animate on Scroll or Arya Dhiratara
  3. Activate Animate on Scroll from your Plugins page
Manually
  1. Download the plugin using the download link in this WordPress plugins repository
  2. Upload animate-on-scroll folder to your /wp-content/plugins/ directory
  3. Activate Animate on Scroll plugin from your Plugins page

更新日志:

1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0