When clicking on tab A, show content for tab A. Click on tab B, show content for tab B, and so on.
What\'s the most simple and compatible way of constructing a HTML snip
Take a look at an example such as this (courtesy of a Google search for 'tabbed view javascript').
You can obviously use this with a little customisation, but it's instructive to take it apart and determine what it's doing. It's basically enabling or disabling display
style and setting it to block
or none