diff --git a/js/jquery.scrollorama.js b/js/jquery.scrollorama.js index 6c42d25..9d74f9d 100644 --- a/js/jquery.scrollorama.js +++ b/js/jquery.scrollorama.js @@ -224,7 +224,14 @@ } else if(prop === 'text-shadow' ) { target.css(prop,'0px 0px '+val+'px #ffffff'); - } else { + } + else if(prop === 'blur') { + if (!val) { + target.css(browserPrefix+"filter", "none"); + } else { + target.css(browserPrefix+"filter", prop+"("+val+"px)"); + } + } else { if (anim.suffix) { target.css(prop, val + anim.suffix); } else { @@ -407,6 +414,9 @@ delete scrollorama; }; + //make the block array public so it can be manipulated i.e. for responsive layouts + scrollorama.blocks = blocks; + init(); return scrollorama;