Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Scrolling to next div with jQuery

Hi guys! How would i scroll to the next div with a slight transition similar to this: http://www.dishoom.com

Thanks in advance!


I lasted about 10 seconds on that site before I got fed up. It's kind of a nifty scroll method they're using, but God is it annoying. You don't want anyone to scroll a bit and then be forced back to the content they were trying to get away from, right? Go with Richard Ling's suggestion of fullPage.js if you want something very nifty. It is a great plugin and will not make any users that visit your site want to find your cafe in London and shove your coffee down your throat! Lol! :D

1 Answer

Richard Ling
Richard Ling
8,522 Points

Hi Shaun,

There are quite a few different jQuery plugins and components out there to achieve this sort of effect with very little work.

Full page style scrolling from this one:


Or a number of other "scroll-to" style plugins with different transitions and easing options:




Apologies if this isn't quite what you're looking for

Thanks, Rich