Re: [PHP] Tree menu list in php

2011-07-26 Thread Bálint Horváth
Hi, I'd like to write my opinion quickly.. My way both usable with and without JS... In my structures there is an array of the menu elements similar to: $menu[gravity][name] = link; - filled from database, easy to handle to more prof., more params use three-dimensional array... In the url u can

Re: [PHP] Tree menu list in php

2011-07-26 Thread Stuart Dallas
On 26 Jul 2011, at 19:01, Jasper Mulder wrote: > >> From: alekto.antarct...@gmail.com >> Date: Tue, 26 Jul 2011 19:20:58 +0200 >> To: php-general@lists.php.net >> Subject: [PHP] Tree menu list in php >> >> Hi, >> is there a way to create a tree men

Re: [PHP] Tree menu list in php

2011-07-26 Thread alekto
Thank you all for good answers and explanations, think I will give JavaScript a try! Den 26. juli 2011 kl. 20.37 skrev Bojan Tesanovic: > Look at it this way, PHP is just another scripting language, it processes > data. > That said PHP is not responsible for user interface , it just prints o

Re: [PHP] Tree menu list in php

2011-07-26 Thread Bojan Tesanovic
Look at it this way, PHP is just another scripting language, it processes data. That said PHP is not responsible for user interface , it just prints out what you tell him to , it can be HTML XML JSON etc presentation thing is eg HTML and CSS is for styling HTML, JS is to dynamically change st

Re: [PHP] Tree menu list in php

2011-07-26 Thread Jim Giner
"Jasper Mulder" wrote in message news:snt106-w6527d1e82d0a3efe6f76f1f7...@phx.gbl... > From: alekto.antarct...@gmail.com > Date: Tue, 26 Jul 2011 19:20:58 +0200 > To: php-general@lists.php.net > Subject: [PHP] Tree menu list in php > > Hi, > is there a way to

RE: [PHP] Tree menu list in php

2011-07-26 Thread Jasper Mulder
> From: alekto.antarct...@gmail.com > Date: Tue, 26 Jul 2011 19:20:58 +0200 > To: php-general@lists.php.net > Subject: [PHP] Tree menu list in php > > Hi, > is there a way to create a tree menu list only by using php/html/css? > I found some, but they are all in JavaS

[PHP] Tree menu list in php

2011-07-26 Thread alekto
Hi, is there a way to create a tree menu list only by using php/html/css? I found some, but they are all in JavaScript, do I have to make them by using JavaScript or is there a way in php as well? This is how I imagine the tree menu should look like: v First level > Second level > Second