danielstocks / jQuery-Collapse

A lightweight (~1kb) jQuery plugin that enables expanding and collapsing content
http://webcloud.se/jQuery-Collapse/
MIT License
679 stars 153 forks source link

is there a setting to scroll to opened content? #77

Closed ssuess closed 9 years ago

ssuess commented 9 years ago

Hi, when I click on a link/disclosure triangle to reveal the div below, it just opens off the bottom of my page, is there a setting to scroll the window up so that the div just opened will be fully visible in the viewport of the window?

Thanks!

danielstocks commented 9 years ago

No, not built in, you'll have to use something like http://balupton.github.io/jquery-scrollto/