I have a simple website, but I have a jquery function when a button is clicked, a list slides down. But I would have to scroll to see the list. How can I have it auto-scroll down when the page gets to long?
Share
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.
Depending the nature of your custom scroll button, perhaps you could implement it as an anchor link which jumps the page to just above the pane it scrolls?
If you are unable to use an
<a href="" />as your scroll button, you could instead have the click handler for your scroll button also change the page’s location.hash value to the ID of your scroll pane.