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

content 2

blah blah 2

content 3

blah blah 3

tab 1
tab 2
tab 3

content 2

arkenidar/raycache

content 3

arkenidar/point_in_polygon
(maybe it's a poorly documented algorithm, as it's missing from WikiPedia, notably)