Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Seeking a simultaneous fade and blur effect using JQuery or Javascript

Can anyone think of a way to simulate the fade/blur flash effect used in the following website:

http://www.frenchlaundry.com/ (image fades and blurs on hover, while text fades in simultaneously)

using JQuery? I am looking to have this whole chain of effects happen on load or when the DOM is ready (instead of on hover). And by blur, I mean a gaussian-type of blur - possibly using Pixastic (?)

I am really new at this, so please be gentle :)

Thank you.

like image 633
Heath Waller Avatar asked Feb 02 '26 06:02

Heath Waller


2 Answers

You should use animate() method of Jquery to achieve what you want.

Check out the link below...It has numerous examples:

http://api.jquery.com/animate/

HTH

like image 78
Raja Avatar answered Feb 04 '26 21:02

Raja


Since Jquery effects are just implementations of the animate() method, which uses CSS properties and then makes a smooth transition between them, there's no easy way to implement a Gaussian blur.

You could use Pixastic and then fade in some hidden text over the blurred image, why not.

like image 38
Ben Avatar answered Feb 04 '26 19:02

Ben



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!