views:

1647

answers:

1

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.

+2  A: 

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

Demo here.

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