JavaScript tabs


A useful little script to change the appearence of tabs when clicked. Tabbed content is also updated. JavaScript is used to navigate through the <li> elements in list. Firstly all the <li> elements to the left of the selected tab are 'switched off', secondly all the <li> to the right of the selected tab are 'switched off'.

Technologies and methods used.

Sample screenshots

Splash screen on mobile device. This is an example of the tabs in action.