jQuery-Parallax icon indicating copy to clipboard operation
jQuery-Parallax copied to clipboard

Fixes an offset-bug on pages that use multiple parallax images

Open fjenett opened this issue 10 years ago • 1 comments

Currently the script stores only the offset().top of the first element matched by jQuery, it should instead store top for every element.

fjenett avatar Dec 08 '14 12:12 fjenett

Hi, Thanks for this fix. It was something I was just about to try to tackle. You wouldn't know a quick fix so the backgrounds can be positioned center center by default? I've also been trying to figure this out.

The script seems to center horizontally and position the background vertically to the top.

creativelycoded avatar Jan 09 '15 00:01 creativelycoded