Dont Panic!
 

TimeHole.com

PreviousPage NextPage

A PHP Tree Menu

Page Updated: 08 Oct 07

Main What I do Background Skills Customers Contact me Help About Software Personal

Translate to:

About Software
Operating Systems
Security
Databases
Nice software
Database software
Some Oracle utils
SQL guide
PL/SQL guide

PHP Tree Menu

Linux Fileserver
Linux Firewalls
Thin clients
GPL Databases

I work with databases

center
center


OpenSource Sw

images/phpclasses.gif


Share information and knowledge!

images/Nohat-logo-nowords-bgwhite-200px.jpg

I'm based in Jersey, Available for assignments in all of Europe, On-Site or Remote. Call or mail me!

Pictures/JerseyOpera.jpg

Jersey Opera House

Author: Jerry Mattsson
Url: www.timehole.com/th_menu_1_5.zip
Version: 1.5 March-2004

Tree Menu function.
This is just one more html tree menu. There are 100's of menu's available, some free, some not. I wrote this because I did not find one, fast and simple enough for my purposes and because I got tired of all other java-script based pages that has to be browser sensitive and therefore gets to messy to maintain and rather slow if they get too complex. This one is quite unsophisticated, Simple, written in PHP and free. You can be download it here!

It is a simple and short tree menu function. The code is short, about 200 lines, not very sophisticated and easily modified but serves it's purpose quit well.
It was initially made for use in a frame based page, But it is useable both in a framebased page setup or included in a frameless page. There are a couple of sample pages supplied. It also uses a table to avoid word wrap if the frame is to narrow for the text but this may be removed and replaced if desired.

The menu consists of a couple files. One include file with all the code. One file that you edit as your menu with the menu definition ( this may optional be stored in an external data file or database ) and some icons. For small and reasonable static menus, the "in-line-menu" definition might be preferable.

The menu is tested in Mozilla 1, phoenix/Firebird 0.5, 0.6 Opera 5, 6, 7, InternetExplorer 5.
It should work in most browsers and versions used today, it is not very browser sensitive as the menu is created on the server side and does not use any sophisticated HTML (except frames if you use that). Tested to run with php 4.2 / Apache under Linux 2.4 (should work in other OS's and versions of php > 4 as well but this is not tested).

You may Use this code freely, as is or modified, as long as you just give me some credit for it with a reference to me according to the GNU License. Copyright (C) 2003 Jerry Mattsson, www.Timehole.com This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. If you like to add functionality and/or corrections, feel free to mail me suggestions.

 

Page: Date:Wed Jan 7 10:56:40 CST 2009 Load time:0.05s Last Updated: 20071008

Copyright 2003-2007 Timehole.com All Rights Reserved.