On 26 Jul 2011, at 19:01, Jasper Mulder wrote: > >> From: alekto.antarctica@xxxxxxxxx >> Date: Tue, 26 Jul 2011 19:20:58 +0200 >> To: php-general@xxxxxxxxxxxxx >> Subject: 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 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 level >> v Second level >>> Third level >>> Third level >>> Third level >>> Second level >>> Second level >> >> ( > = menu is closed, v = menu is open ) >> >> >> Cheers! >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> > > This appears like a typical JavaScript thing to me. If you insist on not using JS, you could probably use AJAX+PHP to do it. > However, JavaScript appears to me as the more convenient method. I suggest you look up what the J in AJAX stands for! Pure CSS tree: http://www.thecssninja.com/css/css-tree-menu (be sure to check the browser support section). -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php