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
Hello, thanks for library. I'm using latest version of mPageScroll2id and jQuery 1.9.1. The following snippet shows how I init it on my page:
$("a[href^='#'], a[rel='m_PageScroll2id']").mPageScroll2id({ highlightSelector: ".my-selector a", offset: 50, onStart: function() { console.log(arguments); console.log(this); }, onComplete: function() { console.log(arguments); console.log(this); } });
None of console.log is called.
The text was updated successfully, but these errors were encountered:
@malihu Also in the example on site you're using some variable mPS2id which I cannot understand how to get:
mPS2id
$("a[rel='m_PageScroll2id']").mPageScroll2id({ onStart:function(){ myCustomFn1(); }, onComplete:function(){ myCustomFn2(); } }); function myCustomFn1(){ console.log(mPS2id.target.attr("id")); } function myCustomFn2(){ console.log(mPS2id.scrollTo.y); }
Sorry, something went wrong.
No branches or pull requests
Hello, thanks for library. I'm using latest version of mPageScroll2id and jQuery 1.9.1.
The following snippet shows how I init it on my page:
None of console.log is called.
The text was updated successfully, but these errors were encountered: