We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't manage to make elements move in the opposite direction of mouse.
I made a custom position, like this one, but the result is just weird: it works only on a small part of the screen.
$.parallaxify.positionProperty.mytransform= { setPosition: function($element, left, originalLeft, top, originalTop) { $element.css('transform', translateX(-' + left + 'px) translateY(-' + top + 'px)'); } };
any idea on why?
The text was updated successfully, but these errors were encountered:
Ok solved (and pasted wrong code . Stupid question:
$.parallaxify.positionProperty.mytransform= { setPosition: function($element, left, originalLeft, top, originalTop) { $element.css('transform', 'translate(' + (originalLeft - left) + 'px, ' + (originalTop - top) + 'px)'); } };
Sorry, something went wrong.
No branches or pull requests
I can't manage to make elements move in the opposite direction of mouse.
I made a custom position, like this one, but the result is just weird: it works only on a small part of the screen.
any idea on why?
The text was updated successfully, but these errors were encountered: