Thursday, April 21, 2011

Adding Slide-to-Anchor to Hide effect

In jQuery: I'd like to create an link to on click shows a hidden div (got that working by now) but also slides to it with a smooth-scroll effect. How do I combine the two?

Thanks so much.

From stackoverflow
  • You can use the scrollTo plugin to give smooth scoll effects.

    Demo here.

    konzepz : Can the click event for both scrollTo and Show share the same ID?

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.