Jquery animate blur function -


i using jquery blur plugin called "vague.js". allows me blur on website. want animate blurring. how call .blur() function jquery animate() ?

//this sets plugin , applies blur content  var contentblur = $('#content').vague({intensity:5}); contentblur.blur(); 

i want like:

contentblur.animate(blur,500); 

https://github.com/gianlucaguarini/vague.js

you can make blur animated on browser support filter property , transitions.

it's easy setting transition on element

#content {    transition: 1s;    -webkit-transition: 1s; } 

you can see jsfiddle demo :

http://jsfiddle.net/vmws3/


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -