PEAR HTML_Menu
| From: | Jamie Kahgee | Date: | Mon, 07 Jun 2010 15:51:19 +0000 |
| Subject: | PEAR HTML_Menu | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-30606@lists.php.net to get a copy of this message | ||
If I wanted to apply an id/class to the last parent item in a menu - is it
possible w/out modifying this script?
I'm using the HTML_Menu_DirectTreeRenderer and need a marker on the last
<li> in the main list
ie:
<ul>
<li>Menu item 1
<ul>
<li>Menu item 1.1</li>
<li>Menu item 1.2</li>
</ul>
</li>
<li* id="lastli"*>Menu item 2</li> <-- need to add class here
</ul>
Thanks,
Jamie K.