-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Found solution. Anchor is working!! #338
Comments
Thank you : ) |
Привет,это куда надо добавить ?03.09.2018, 12:43, "Nursultan" <[email protected]>:In line 366 add your custom class="" For example : (anchor)
IN [ jquery.onepage-scroll.js ]
if(settings.pagination == true) {
$(".onepage-pagination li a, .anchor").click(function (){
var page_index = $(this).data("index");
el.moveTo(page_index);
});
}
**IN html add data-index="Number" href="id & number" also your class **
<a href="#1" class="anchor" data-index="1">To section 2</a>
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.
|
Привет в jquery.onepage-scroll.js 366 строку добавляешь свой класс например "link" |
In line 366 add your custom class="" For example : (anchor)
IN [ jquery.onepage-scroll.js ]
**IN html add data-index="Number" href="id & number" also your class **
<a href="#1" class="anchor" data-index="1">To section 2</a>
The text was updated successfully, but these errors were encountered: