jQuery can pretty much do anything you can think of. All you need is a creative imagination and some time to learn the simple and intuitive API .
?
In this article, we share with you some innovative uses of jQuery in animating web design elements. You’ll read about some interesting techniques, tutorials, and examples that will show you how to create similar effects on your own websites and web apps.
?
1. Puffing Smoke Effect in jQuery
?
?
This example by Dutch web developer Gaya Kessler features an impressive animation effect of cartoonish smoke emanating from factory smoke stacks. Kessler thoughtfully supplies a configurable jQuery plugin with instructions based on his site’s header, so that you may create a similar animation effect for your website.
?
Live Demo: Smoke Effect
?
2. Crafting an Animated Postcard
?
?
Sam Dunn of the web development duo, Build Internet, wrote a tutorial on how to create an animated landscape using transparent PNG images. The tutorial takes advantage of the popular
jQuery Easing plugin
to help with the animation and the
setTimeout()
JavaScript function to time the events accordingly.
?
Live Demo: Animated Postcard
3. Create a Realistic Hover Effect
?
?
In this tutorial, you will learn how to animate image elements in a smooth and fluid manner. The tutorial features objects that, when hovered on, rises upwards. In the live demo of the effect, notice how the reflections and shadows at the bottom also changes when the object lifts up; hence "realistic" in the name of the technique.
?
Live Demo: Realistic Hover Effect
4. Scrolling Background Effect
?
?
The creators of the site youlove.us shares their code (and explanation) for making a seamless vertical scrolling CSS background; featured on the site’s header. The script is also dependent on the user’s system time; the animation starts at a different position depending on whether you visit the site at night or in the morning, a nice touch.
?
Live Demo: youlove.us (web page header)
5. Multiple Animations with Glimmer
?
?
Glimmer, a JavaScript animation creation tool that leverages the jQuery library, has several live demonstrations for some of the things you can do with the app. For instance, with Glimmer, you can create cool animation sequences or make a spiffy and impressive rotating banner for your website.
?
Live Demos: Freestyle Sample , Image Sequence Sample , Fade Text Sample
6. jQuery Blend
?
?
jQuery Blend is a plugin for animating CSS background images. The project emphasizes on web development best practices such as progressive enhancement ?so that users with JavaScript disabled are still able to interact with your interface, albeit without the animation effects, making for a truly universal design.
?
Live Demo: website navigation with different options
7. Parallax Scrolling Background
?
?
In this jQuery tutorial, you will learn how to construct a Parallax Scrolling background – first popularized in web interfaces with the use of Flash. The technique involves div elements with CSS background images. The Parallax Scrolling technique requires the scrollTo plugin by Argentinean Web Developer and Game Programmer, Ariel Flesler.
?
Live Demo: Scrolling Clouds
8. Stunning Sliding Door Effect
?
?
Designer and Developer Kevin Liew shows other website builders how to create a striking animation effect where a top image splits up into four pieces, moving smoothly to the corners, and revealing another image beneath it. It’s an animation effect suited for interactive thumbnails of images.
?
Live Demo: Sliding Door Effect
9. Make Your Header Responses to Mouse Movements
?
?
In this jQuery animation technique, you will learn how to animate a set of images that reacts to the user’s mouse movements. When the user hovers over a set of images, the set begins to follow the mouse cursor. This technique can be adapted to many user interface related functions, or you can just use it to impart a memorable experience to your users.
?
Live Demo: parallax
10. Animated Header Using jQuery
?
?
This animated tutorial goes over a similar concept to the youlove.us example of vertically moving a large CSS background image. Illustrations on how the technique works will help readers grok the concept more fully. Devirtuoso, the author of the tutorial, goes through due diligence by offering an IE6 hack for backwards compatibility.
?
Live Demo: Animated Header
?
更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主
微信掃碼或搜索:z360901061

微信掃一掃加我為好友
QQ號聯(lián)系: 360901061
您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。
【本文對您有幫助就好】元
