So this should be fairly basic... and I'm doing it, but I wanted to ask for a few different options.
One option is using the "Smooth Scroll" and anchor names... but I find that to be quite inconsistent.
This is my HTML structure:
<section id="home">
<!-- some content -->
</section>
<section id="about">
<!-- some content -->
</section>
<section id="services">
<!-- some content -->
</section>
...
I have some "quick buttons" on the right side of the section and basically allows you to "travel" up or down from section to section.
Look into the
scrollTo
jQuery plugin, it should meet your needs fully.I managed to get an awesome smooth scroll using mootools for my 'jump to next' having not liked the jaggedness of the jquery ones. It also works in unison with the other jquery on the page once you do a little tweaking.
http://davidwalsh.name/smooth-scroll-mootools
The site I use it on is currently under construction but here's the link http://ggszabo/new/indexb.html
Click the section ribbons to view.
Update - To jump from section to section use a simple event handler:
JQuery:
HTML:
Here's a demo: http://jsfiddle.net/AlienWebguy/Xdg2k/
so you're wanting to scroll up and down the page depending on which link the user clicks on?
from my experience, the jQuery.ScrollTo plugin is the best for this. Easy to use and a lot of support
http://flesler.blogspot.com/2007/10/jqueryscrollto.html
You could try just setting the scrolltop