view tabs
see also
jqueryui.com/tabs/
.
this is post-jquery and post-jqueryui, achieves both with no jquery, just pure browser APIs, without any needed adds.
content 1
blah blah 1
next →
content 2
blah blah 2
← previous
next →
content 3
blah blah 3
← previous
tab 1
tab 2
tab 3
content 1
arkenidar/raytracer-original
content 2
arkenidar/raycache
content 3
arkenidar/point_in_polygon
(maybe it's a poorly documented algorithm, as it's missing from WikiPedia, notably)