I’m using jquery ScrollTo wonderfully but want to use the “offset top” add-on, has anyone set it up? I’m unsure of how to properly use it
$('#aAbout').click(function about() {
$.scrollTo('#dAbout', 500, offsetTop: 10px);
});
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That isn’t valid JavaScript syntax. Perhaps you meant: