Tab demo

A simple example on Tab component. The source code of this demo is here.
Tab A
This is tab A.
Javascript
	function tp_toggle(contentId, arrowId, openedIcon, closedIcon, effect)
	{
	
	if ( $(contentId).visible()) {
	// From visible to invisible
	$(arrowId).src = closedIcon;
	}
	else {
	$(arrowId).src = openedIcon;
	}
	
	Effect.toggle(contentId,effect,{duration:1})
	
	}
	
Some links