8 Jquery-based WEB Front-end animation effects and 8 jqueryweb front-end1. Superb 30 jQuery button hover animations
Button plug-ins are one of the most common jQuery plug-ins, because they are widely used and most convenient to configure. Today we will share 30 super-cool jQuery
jquery is a fairly lightweight JavaScript framework that uses jquery for almost every Web project, because jquery plugins are so rich, especially with some image slider plugins and jquery focus graph plugins, Many beginners can use it with just a little modification. This article has selected 8 more powerful
BKJIA recommended topic: jQuery parade
CSS style property Animation
We now have a lot of animation methods, such as sliding, fade-out, and other hide and show animations, but we still don't know how to precisely control the animations and how they happen. Here we will introduce a very powerful jQuery function, animate.
Animate (params, options) return value: JQuery
Overview
A function to create a custom animation.
The key to this function is to specify the animation form and the result style Property object. Each property in this object represents a style attribute that can be changed (such as "height", "top", or "opacity"). Note: All specified attributes must be in camel for
Jquery animation effect instructions, jqueryanimateAnimate (params, [duration], [easing], [callback])A function used to create a custom animation.The key to this function is to specify the animation form and result style attribute object. Each attribute in this object represents a changeable style attribute (such as "height", "top", or "opacity "). Note: All spec
CSS style properties animation
We now have a lot of animation methods, sliding, fading fade in, and other display hidden animation, but we do not know exactly how to control animation and how the animation happened. Let's introduce a very powerful
Web site construction of the front-end personnel to use jquery to achieve the animation is simple, but to achieve a more cool effect also need plug-in to help, easing is a help jquery to achieve slow animation plug-in, after trial, the effect is very good!Download the plugin: jquery.easing.1.3.js jquery.easing.compatib
For details about how to use jqueryanimate animation effects, see. Animate (params, [duration], [easing], [callback])
A function used to create a custom animation.
The key to this function is to specify the animation form and result style attribute object. Each attribute in this object represents a changeable style attribute (such as "height", "top", or "opacity
Animate (params, [duration], [easing], [callback])
A function to create a custom animation.
The key to this function is to specify the animation form and the result style Property object. Each property in this object represents a style attribute that can be changed (such as "height", "top", or "opacity"). Note: All specified attributes must be in camel form, such as marginleft instead of Margin-left.
The
(milliseconds)Callback: callback function that is automatically invoked after the effect has been executed
3, Fade effect
Allow elements to show and hide through a certain amount of transparency
FadeIn (speed, [callback])
Fadeout (speed, [callback])
Fadetoggle (speed, [callback]) switch effect
Fadeto (speed, opacity, [callback]) set the div to a certain transparency (0-1) 0.3 is 30% transparency
Set transparency, the transparency of Div
Animate (params, options) Return Value: jQueryOverviewA function used to create a custom animation.
The key to this function is to specify the animation form and result style attribute object. Each attribute in this object represents a changeable style attribute (such as "height", "top", or "opacity "). Note: All specified attributes must be in the camel format. For example, margin-left must be replaced by
to reach the state of the end point directly, usually for the latter animation to be based on the last state of the previous animation.Stop (False, True): The current animation reaches the end state directly.Stop (True, true): The current animation directly reaches the end state and empties the animation queue for the
This article illustrates the method of jquery simulation to realize the effect of classic flash navigation animation. Share to everyone for your reference, specific as follows:
First, the foreword:
Flash was very hot in the early days of China's Internet development, a variety of vector modeling and movements, coupled with specially formulated sound effects, so that many people in front of a bright, and l
Animate means: make angry; drive; Make vivid action; give... Take lifeAs an adjective: with life, live, angry, and vigorousFirst look at the animation effect:Http://keleyi.com/keleyi/phtml/jquery/index.htmAnimate () is used as a method in jquery to create animation effects.The following is the instance code:
the current animation reach the end state directly .
(4) A combination of the two Stop (true,true), that is, stop the current animation and directly to the end of the current animation state , and empty the animation queue .
(5) Note that jquery can only set the final sta
': ' 100px '},1000);If stop() the first parameter is true , the current animation queue is cleared immediately, the default is fx , and if the second argument is true , immediately the currently executing animation is placed at its end state.Extension: (It seems I really have to take a look at the JQ API)Stop animation of an element: Stop ([Cleanqueue, Gotoend])
speed strings ("slow", "normal", or "fast ") or a millisecond value (for example, 1000) indicating the animation duration)
Easing string :( default value: "Swing") Name of the erased effect to be used (supported by plug-ins). By default, jquery provides "linear" and "Swing ".
Complete function: the function executed when the animation is completed.
Step callback
General Introduction
With the basic animation method in jquery, it is easy to add a wonderful visual effect to the Web page, giving the user a new experience
The animation in jquery
Show () and Hide () methods
1. The show () method and the Hide () method are the most basic methods in
Jquery is a very easy-to-use javascript framework with good scalability. Using jquery can easily implement ajax effects on some pages. This article collects a batch of plug-ins and Tutorials that use jquery to implement the cool animation effect menu.
Plug-in LavaLamp
I believe many people have seen this cool menu plu
1.JQUERY/CSS3 Slider Animation menu 6 Menu StylesBefore we introduced a 4 color theme of the CSS3 3D animation menu, the effect is very good. Today to share a JQUERY/CSS3 slider animation menu with 6 appearance styles, a mask animation
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.