Skip to content
New issue

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

How can you use one time only? #2

Open
remcoabalain opened this issue Feb 18, 2015 · 2 comments
Open

How can you use one time only? #2

remcoabalain opened this issue Feb 18, 2015 · 2 comments

Comments

@remcoabalain
Copy link

What i'm trying to get is that i want a magnetic scroll once, and after that, that i can scroll normal again. Im developing a website where i have a fullscreen image, then a magnetic scroll. After that i want to scroll normal. Is that possible?

@Singularity-
Copy link

Same here ! If you found the answer dont hesitate to tell it ;) !

Thanks,

@maximegaul
Copy link
Owner

maximegaul commented Sep 26, 2016

Hello,

I don't have much time to enhance the plugin anymore.
Here is something that is a workaround :

These lines will stop the plugin :
var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; //FF doesn't recognize mousewheel as of FF3.x
$('body:not(.scrolling)').unbind(mousewheelevt);

If you can trigger this after the first scroll this could work (maybe try to add these line 40 @ magneticScroll-1.0.js)

Keep me up to date !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants