PHP Classes

File: menu.config.inc.php

Recommend this page to a friend!
  Classes of Russell Nash   Expandable Menu   menu.config.inc.php   Download  
File: menu.config.inc.php
Role: Configuration script
Content type: text/plain
Description: configuration for the menu type and file locations
Class: Expandable Menu
Generate an expandable menu of links
Author: By
Last change:
Date: 17 years ago
Size: 2,481 bytes
 

Contents

Class file image Download
<?php
/*
#####################################################################
# #
# Advanced Expandable Menu #
# Config file #
# #
#####################################################################
# #
# Set menu type to css or image #
# #
#####################################################################
*/
$cfg['MenuType'] = "css"; // Options are 'css' & 'image'
/*
#####################################################################
# #
# Set common values #
# #
#####################################################################
*/
$cfg['common']['MainMenuColor'] = "FF0000"; // Main menu items background color
$cfg['common']['SubMenuColor'] = "009900"; // Sub menu items background color
$cfg['common']['MainMenuHoverColor'] = "0000FF"; // Main menu items background hover color
$cfg['common']['SubMenuHoverColor'] = "990099"; // Sub menu items background hover color
$cfg['common']['MainMenuTextColor'] = "ffffff"; // Main menu items text color
$cfg['common']['SubMenuTextColor'] = "3399FF"; // Sub menu items text color
$cfg['common']['MenuItemHeight'] = "20"; // Height of all images/menu items)
$cfg['common']['MenuWidth'] = "200"; // Menu width
/*
#####################################################################
# #
# Set css specific values #
# #
#####################################################################
*/
$cfg['CSS']['CssType'] = "internal"; // Options are 'internal' & 'external'
$cfg['CSS']['ExternalCssURL'] = ""; // Absolute URL to external menu Style Sheet
$cfg['CSS']['SeperatorColor'] = "#993300"; // Seperator row color
$cfg['CSS']['ImageBase'] = "./images"; // Base for images used in css menu
/*
#####################################################################
# #
# Set image specific values #
# #
#####################################################################
*/
$cfg['IMG']['MenuFontShadowColor'] = "040404"; // Set shadow color to 0 for no shadow
$cfg['IMG']['MenuFontSize'] = "5"; // Font size, 1 to 5
$cfg['IMG']['ButtonScriptFile'] = "http://localhost/testing/My_Tests/advanced_expand_menu/menu_button.php"; // Absolute URL to script file to generate image buttons
return $cfg;
?>