RE: [PHP] Tree menu list in php
| From: | Jasper Mulder | Date: | Tue, 26 Jul 2011 18:01:12 +0000 |
| Subject: | RE: [PHP] Tree menu list in php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314204@lists.php.net to get a copy of this message | ||
> From: alekto.antarctica@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 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.
Regards,
Jasper