Login   Register  
PHP Classes
elePHPant
Icontem

File: test_menu.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Dyego Fernandes  >  DMenuGenerator  >  test_menu.php  >  Download  
File: test_menu.php
Role: Example script
Content type: text/plain
Description: test
Class: DMenuGenerator
Generate HTML menu that trigger Javascript actions
Author: By
Last change:
Date: 2005-07-20 10:19
Size: 760 bytes
 

Contents

Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
<? 
include('menu.class.php');
$menuConfig = array(
                    
'labels'=>array('Home','A Empresa','Produtos','Servišos','Clientes','Case','Contatos'),
                    
'config'=>array('777','23'),
                    
'mnSett'=>array('beige''white','none','underline','black','gray','solid black 1px','solid gray 2px','','bolder','verdana','verdana','80%','80%'),
                    
'btnAct'=>array('javascript:window.alert("Dyego")','','','','javascript:window.alert("Dyego")','','')
                   );

$menu     = new menu($menuConfig); ?>
</body>
</html>