Page 1 of 1
PHP tree menu
Posted: Mon Jul 19, 2004 8:56 am
by Sanglier
Hi,
Are there any turorials that deals with PHP tree menues?
What would be the best way to keep track of the menu state, a hidden variable or a sessions?
Anybody that can recommend a PHP tree menu to start of with?
Posted: Mon Jul 19, 2004 9:04 am
by liljester
you could also use a cookie to remember menu states also =)
are you wanting a permissions based menu? or just a generic everyone sees everything menu?
Posted: Mon Jul 19, 2004 9:19 am
by Sanglier
liljester wrote:you could also use a cookie to remember menu states also =)
are you wanting a permissions based menu? or just a generic everyone sees everything menu?
If you mean password protected: No, just a simple tree menu. The purpose is to allow visitors to easely gain an overview of the site.
Posted: Mon Jul 19, 2004 9:57 am
by liljester
you can build a tree menu with DHTML or JS, the only reason you would us php is if there was a need to change permissions or something. this is prolly more of a "Client Side" question, as it would be a DHTML or Javascript menu.
Posted: Tue Jul 20, 2004 7:29 am
by Sanglier
The reason for using a server side menu is that some users switch of JavaScript for security reasons and some don't even realise that it is switch off. The drawback of cause is the extra delay, so it is less plesant to use.
Posted: Tue Jul 20, 2004 8:35 am
by liljester
are there any valid security risks in javascript? and how many users turn off js?