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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -