Location: PHPKode > scripts > Tab Menu > tab-menu/doc.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
	.code{
	font-family:"Courier New", Courier, mono;
	font-size:12px;
	}
</style>
</head>

<body>
<p>This is how you use the class:</p>
<p class="code"># Include the class file<br>
  include(&quot;menu.php&quot;);
    <br>
    # define your menu as array<br>
    $myMenu=array(&quot;one&quot;=&gt;&quot;one.html&quot;,&quot;two&quot;=&gt;&quot;two.html&quot;,&quot;three.html&quot;);<br>
$label=&quot;Hello World!&quot;;<br> 
# this creates a left aligned menu <br>
$a=new tabMenu($myMenu,$label,0,&quot;left&quot;);<br>
# this creates a right aligned menu <br>
$b=new tabMenu($myMenu,$label,0,&quot;right&quot;);<br>
# this creates a  centered menu <br>
$c=new tabMenu($myMenu,$label,0);</p>
<p>&nbsp;</p>
<p><br>
</p>
<p>&nbsp;</p>
</body>
</html>
Return current item: Tab Menu