Location: PHPKode > scripts > PHP Drop Down Menu > php-drop-down-menu/phpddm.inc.php
<?
###############################################################################
#  - SteO Menu - Ver. 0.6php (18-OCT-03) [http://www.steo.it/php]
#
#  Please give me any comment !
#
#  Copyright (c) 2001, Stefano SteO Arcidiacono - hide@address.com
#
#  This file is distributed with General Public License.
#  Any derivatives of this software must remain OpenSource and
#  must be distributed at no charge.
#  (See license.txt for additional information)
#
###############################################################################

// Edit this file to configure PHP Drop Down Menu


# menu distance from top
	$PHPDDM['top'] = 0;
# submenu distance from top
	$PHPDDM['subtop'] = 20;
# submenu width
	$PHPDDM['width'] = 100;
# menu color
	$PHPDDM['mcolor'] = '#C0C0C0';
# menu over color
	$PHPDDM['mover'] = '#8C8C8C';
# submenu background color
	$PHPDDM['scolor'] = '#FFFFFF';
# submenu over color
	$PHPDDM['sover'] = '#C0C0C0';
# submenu background layer color (== submenu borders)
	$PHPDDM['lcolor'] = '#000000';



# phpddm_menu(TITLE, VTITLE, WIDTH, URL, TARGET)
#
# phpddm_submenu(TITLE, URL, TARGET)

$PHPDDM_menu[0] = new phpddm_menu('Item one', 'MENU 1', 100, '#', '');
$PHPDDM_submenu[0][0] = new phpddm_submenu('Link 1', '#', '');
$PHPDDM_submenu[0][1] = new phpddm_submenu('Link 2', '#', '');
$PHPDDM_submenu[0][2] = new phpddm_submenu('Link 3', '#', '');
$PHPDDM_submenu[0][3] = new phpddm_submenu('&nbsp;', '#', '');
$PHPDDM_submenu[0][4] = new phpddm_submenu('Blank Target', 'index.php', '_blank');
$PHPDDM_submenu[0][5] = new phpddm_submenu('Link 2', '#', '');
$PHPDDM_submenu[0][6] = new phpddm_submenu('Link 3', '#', '');

$PHPDDM_menu[1] = new phpddm_menu('Item two', 'MENU 2', 100, '#', '');
$PHPDDM_submenu[1][0] = new phpddm_submenu('Link 1', '#', '');
$PHPDDM_submenu[1][1] = new phpddm_submenu('Link 2', '#', '');
$PHPDDM_submenu[1][2] = new phpddm_submenu('Link 3', '#', '');
$PHPDDM_submenu[1][3] = new phpddm_submenu('&nbsp;', '#', '');
$PHPDDM_submenu[1][4] = new phpddm_submenu('Link 1', '#', '');
$PHPDDM_submenu[1][5] = new phpddm_submenu('Link 2', '#', '');
$PHPDDM_submenu[1][6] = new phpddm_submenu('Link 3', '#', '');

$PHPDDM_menu[2] = new phpddm_menu('Item three', 'MENU 3', 100, '#', '');
$PHPDDM_submenu[2][0] = new phpddm_submenu('Link 1', '#', '');
$PHPDDM_submenu[2][1] = new phpddm_submenu('Link 2', '#', '');
$PHPDDM_submenu[2][2] = new phpddm_submenu('Link 3', '#', '');
$PHPDDM_submenu[2][3] = new phpddm_submenu('&nbsp;', '#', '');
$PHPDDM_submenu[2][4] = new phpddm_submenu('Link 1', '#', '');
$PHPDDM_submenu[2][5] = new phpddm_submenu('Link 2', '#', '');
$PHPDDM_submenu[2][6] = new phpddm_submenu('Link 3', '#', '');

$PHPDDM_menu[3] = new phpddm_menu('Empty Item ', '', 100, 'index.php', '_blank');

$PHPDDM_menu[4] = new phpddm_menu('Item Five', 'MENU 4', 100, '#', '');
$PHPDDM_submenu[4][0] = new phpddm_submenu('Link 1', '#', '');
$PHPDDM_submenu[4][1] = new phpddm_submenu('Link 2', '#', '');
$PHPDDM_submenu[4][2] = new phpddm_submenu('Link 3', '#', '');
$PHPDDM_submenu[4][3] = new phpddm_submenu('&nbsp;', '#', '');
$PHPDDM_submenu[4][4] = new phpddm_submenu('Link 1', '#', '');
$PHPDDM_submenu[4][5] = new phpddm_submenu('Link 2', '#', '');
$PHPDDM_submenu[4][6] = new phpddm_submenu('Link 3', '#', '');
?>
Return current item: PHP Drop Down Menu