HTML::Menu_File proposal (part 2
| From: | Aaron S. Hawley | Date: | Tue, 02 Oct 2001 16:40:36 +0000 |
| Subject: | HTML::Menu_File proposal (part 2 | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-2121@lists.php.net to get a copy of this message | ||
Generates a multidimensional array from a three column file, that can be
sent to an HTML::Menu class.
what do you think of the code, and the file format?
http://www.uvm.edu/~ashawley/php/pear/HTML/Menu_File.php
example usage:
http://www.uvm.edu/~ashawley/php/menu.phps
http://www.uvm.edu/~ashawley/php/menu.php
example menu file:
http://www.uvm.edu/~ashawley/php/defaultmenu.html
closing comment:
i believe the Menu object should be more extensbile, and this Menu_File
class should follow suit. Menu should be able to hand all atributes of an
anchor, not just the href and the content. what about the title tag,
which provides accessibility, what about unique style tags?
aaron
--
__________________________________________
PINE 4.33 Mailer - www.washington.edu/pine