473,654 Members | 3,011 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP simple plain text menu, suggestions ?

for my web site I am looking for a simple PHP plain text menu system, the
menu would have at least four levels and about 200 links, at starting only
the main levels should appear, for example :

MATHEMATICS
HISTORY
GEOMETRY

once you click on one of these a submenu would appear

MATHEMATICS
Functions
Limits
Derivatives
......
HISTORY
GEOMETRY

the same when you click on a submenu (at least four levels required)

Additional requirements :
a) the menu should use Javascript when the browser supports it,
alternatively (when the browser doesn't support Javascript) it can show all
the items open or (a much better alternative) to process the menu from
server.
b) it wouldn't use frames
c) it would include some mouseover effect when the cursor is over a link
d) it should support the most popular browsers

I think that all these requirements are familiar but nevertheless I wasn't
able to find out a menu (freeware or commercial) which supports all these
features so I will appreciate suggestions and comments,

Sergio
Nov 4 '05 #1
6 2755
Sergio wrote:
for my web site I am looking for a simple PHP plain text menu system, the
menu would have at least four levels and about 200 links, at starting only
the main levels should appear, for example :

MATHEMATICS
HISTORY
GEOMETRY

once you click on one of these a submenu would appear

MATHEMATICS
Functions
Limits
Derivatives
......
HISTORY
GEOMETRY

the same when you click on a submenu (at least four levels required)

Additional requirements :
a) the menu should use Javascript when the browser supports it,
alternatively (when the browser doesn't support Javascript) it can show all
the items open For javascript menus (and for browsers without Javascript, but with
generic hover support )
see http://www.alistapart.com/articles/horizdropdowns/
and http://www.alistapart.com/articles/dropdowns/

(in general, http://www.alistapart.com/ has useful articles)
c) it would include some mouseover effect when the cursor is over a link The above two show how to use CSS to get good mouseover effects
d) it should support the most popular browsers IE6(should have Javascript enabled) Mozilla, Firefox(dont need
Javascript)
or (a much better alternative) to process the menu from
server.

If you need this, you have the downside that for every menu click, your
user's request goes to the server,i.e., your page gets reloaded. You
can do it with your menus stored in a text file or better, in a table.
And, then, get the data into a structure like the following 2-D array:
id,text,link,pa rentid
0, root, nolink, -
1, MATH, http://www.math.org, 0
2, SCIENCE, http://www.science.org, 0
3, ALGEBRA, http://www.algebra.math.org,1
4, PHYSICS, http://www.physics.science.org,2

and so on,
and then go through the array to generate the menus.

HTH,
Joseph S.

Nov 4 '05 #2
"Joseph S." <js****@rediffm ail.com> ha scritto nel messaggio
news:11******** *************@g 44g2000cwa.goog legroups.com...

for my web site I am looking for a simple PHP plain text menu system, the
menu would have at least four levels and about 200 links, at starting only
the main levels should appear, for example :

MATHEMATICS
HISTORY
GEOMETRY

once you click on one of these a submenu would appear

MATHEMATICS
Functions
Limits
Derivatives
......
HISTORY
GEOMETRY

the same when you click on a submenu (at least four levels required)

Additional requirements :
a) the menu should use Javascript when the browser supports it,
alternatively (when the browser doesn't support Javascript) it can show all
the items open or (a much better alternative) to process the menu from
server.
b) it wouldn't use frames
c) it would include some mouseover effect when the cursor is over a link
d) it should support the most popular browsers

I think that all these requirements are familiar but nevertheless I wasn't
able to find out a menu (freeware or commercial) which supports all these
features so I will appreciate suggestions and comments,
If you need this, you have the downside that for every menu click, your
....
and so on,
and then go through the array to generate the menus.
HTH,
Joseph S.


thank you Joseph,
I think that with custom code it would be easy to process the selection
(point a of additional requirements) from the server (see for example the
code in PHP Layers menu by Marco Pratesi), however for this particolar
project I am looking for a commercial or freeware package which already
include all these features, I wonder if there is one !

Best regards,

Sergio
Nov 4 '05 #3
Sergio wrote:
for my web site I am looking for a simple PHP plain text menu system, the
menu would have at least four levels and about 200 links, at starting only
the main levels should appear, for example :


Hi Sergio,

Check out the phplayers menu. I've used it before and it works like a
charm and is easy to maintain:

http://phplayersmenu.sourceforge.net/

HTH.
Peter.
--
http://www.phpforums.nl
Nov 4 '05 #4

"Peter van Schie" <va************ @gmail.com> ha scritto nel messaggio
news:43******** *************** @news.xs4all.nl ...
Sergio wrote:
for my web site I am looking for a simple PHP plain text menu system, the menu would have at least four levels and about 200 links, at starting only the main levels should appear, for example :


Hi Sergio,
Check out the phplayers menu. I've used it before and it works like a
charm and is easy to maintain:
http://phplayersmenu.sourceforge.net/
HTH.
Peter.


thank you Peter,
I agree that PHP Layers is a very good menu system but it would require some
customization to implement a simple plain text menu (not static) as that
described, for this project I would prefer to use a code already tested for
including the above mentioned features,
may be I am wrong but I wasn't able to find a suitable solution also here :

http://www.chipchapin.com/WebTools/MenuTools/

perhaps a commercial solution ?

Sergio
Nov 4 '05 #5
Sergio wrote:

thank you Peter,
I agree that PHP Layers is a very good menu system but it would require some
customization to implement a simple plain text menu (not static)


Hi Sergio,

Maybe true, although the website mentions:
"accessibil ity is provided for text-only browsers."

So I'd think it's not too hard to implement.

Anyways good luck with your search.

Peter.
--
http://www.phpforums.nl
Nov 4 '05 #6

"Peter van Schie" <va************ @gmail.com> ha scritto nel messaggio
news:43******** *************** @news.xs4all.nl ...
Sergio wrote:
thank you Peter,
I agree that PHP Layers is a very good menu system but it would require some customization to implement a simple plain text menu (not static) Hi Sergio,

Maybe true, although the website mentions:
"accessibil ity is provided for text-only browsers."
So I'd think it's not too hard to implement.
Anyways good luck with your search.
Peter.


at last I think I'll purchase this :

http://www.projectseven.com/products...mples/info.htm

although it doesn't comply with all my spec's it seems that which comes
closest,
best regards,
Sergio
Nov 4 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
2182
by: Jacek Generowicz | last post by:
:::Title::: A simple text markup utility :::/Title::: :::Section Introduction ::: I'm looking for something to help developers wirte documentation for bits of software they are writing. The main (initially only) presentation format will be HTML. The idea is to allow the author to write a plain text file containing the text he wishes to present, annotated with minimally intrusive markup which describes the :::emph::: meaning...
5
2993
by: max(01)* | last post by:
hello. i wrote a very simple tkinter demo program that uses menus, buttons, labels, entries, frames and secondary toplevels. it is a python version of a java program made by a colleague. the user can create ("Scrivi") a record with his second name, first name and date of birth, save ("Salva") the record to a file or read in ("Leggi") a previously created file. "Annulla" is to cancel. "Chiudi" is
3
7909
by: pradeep gummi | last post by:
I have an XML FILE that is to be converted to Plain Text using an XSL file. Since I just want plain text, I do not want to set any root element during transformation.And if I do not any root element during transformation, it return s "java.lang.IllegalStateException: Root element not set" exception. If I add any element for the enclosed root, it works. Note: I am using XMLOutputter object of JDOM API, packages javax.xml.transform and...
14
6865
by: Akseli Mäki | last post by:
Hi, Hopefully this is not too much offtopic. I'm working on a FAQ. I want to make two versions of it, plain text and HTML. I'm looking for a tool that will make a plain text doc out of the HTML doc. The HTML version doesn't have anything fancy, just internal links. So the tool must be able to delete internal links and anchors from the HTML version, but leave external links in simplified form. That is, the HTML version would say <a...
1
3595
by: BenOne© | last post by:
Hi all, I'm learning CSS, and relearning HTML so I can build a website for myself, and I was wondering if someone could help me with what seems like a simple layout that I want to maintain no matter the browser window size. It would be much appreciated. If you want to view it in your browser, please go to http://homepages.ihug.com.au/~benst/index.html. I've modified it a bit to make the edges of each segment more obvious. Eventually I...
5
7234
by: Rob Somers | last post by:
Hey all I am writing a program to keep track of expenses and so on - it is not a school project, I am learning C as a hobby - At any rate, I am new to structs and reading and writing to files, two aspects which I want to incorporate into my program eventually. That aside, my most pressing problem right now is how to get rid of the newline in the input when I use fgets(). Now I have looked around on the net, not so much in this group...
19
2970
by: Dales | last post by:
I have a custom control that builds what we refer to as "Formlets" around some content in a page. These are basically content "wrapper" sections that are tables that have a colored header and provide an open TD with a DIV in it for the content of this formlet. (The DIV is for DHTML to hide and show the content) I've created a web page showing step by step the two problems I'm encountering. This problem is much easier to see than it...
16
453
by: Adda | last post by:
If I cycle through the MdiChildActivate event of the parent form I can read text in a textbox on the child mdiform -- console.writeline(Me.ActiveMdiChild.Controls(1).Text) But if I have a sub in the Parent form and reference a child mdi form like this: Sub ReadText()
7
1703
by: toby989 | last post by:
Hi All Sorry for reposting...the entries of the post from 11/23/2005 by Eric Lindsay have been removed from the server already and I am seeing only the header. So, I have the problem of including via SSI a plain text fixed width table (separated by spaces) which of course gets treated as html when doing that. I would like to have the blanks (and line returns) stay in the file and then I could use courier new to display it properly. I
0
8290
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8815
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8707
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8482
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6161
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5622
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2714
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1916
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1593
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.