Location: PHPKode > scripts > menu.class.php > menu-class-php/demo.php
<html>
<head>
</head>
<body>
<?
include ('menu.class.php');

$m = new menu();

$m->add(1,'Test','www.google.de','',1,20,70);
	$m->add('1_1','Test','www.google.de','',0,20,70);
$m->add('2','Tests','www.google.de','',1,20,70);
	$m->add('2_1','sTest','www.google.de','',1,20,70);
		$m->add('2_1_1','Test','www.google.de','',0,20,70);
$m->add('3','Tests','www.google.de','',0,20,70);



echo $m->GetHtml();
?>
</body>
</html>
Return current item: menu.class.php