Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion js/jquery.scrollorama.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
Expand Down