I'm trying to scroll to specific This works fine. My question is: How can I do the same thing by simplifying the task? I have not tried the following functions: Any suggestion will be appreciated. default or For ease The jQuery UI page you are able to do other kinds can see that you include the jQuery UI, use. id :
Click the
$ ("# button1") ($ function () {$ ('html, body'). ({ScrollTop: $ ("# sec1"). Offset (). Top}, 700); < / Code>
$ ("# button1"). Click (function () {$ ('html, body' Chetan ({scrollTop : $ ("#
linear , you must include the jQuery UI. In the jQuery Animate API page, it says, "The only easy implementation in the jQuery library The default is called swing, and which progress at constant speed, which is called linear. "
No comments:
Post a Comment