using smarty to create a foldout menu
| From: | Gregory Machin | Date: | Sun, 07 Aug 2005 14:41:59 +0000 |
| Subject: | using smarty to create a foldout menu | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12917@lists.php.net to get a copy of this message | ||
Hi
Please could you advise ..
I'm trying to get exponent's expanded navigation module to create a
dymanic foldout menu
i need to create a recusive function that will do the following
<ul id="nav">
<li><a href="#">Home</a></li>
<li><a href="#">About</a>
<ul>
<li><a href="#">History</a></li>
<li><a href="#">Team</a></li>
<li><a href="#">Offices</a></li>
</ul>
</li>
<li><a href="#">Services</a>
<ul>
<li><a href="#">Web Design</a></li>
<li><a href="#">Internet
Marketing</a></li>
<li><a href="#">Hosting</a></li>
<li><a href="#">Domain Names</a></li>
<li><a href="#">Broadband</a></li>
</ul>
</li>
<li><a href="#">Contact Us</a>
<ul>
<li><a href="#">United Kingdom</a></li>
<li><a href="#">France</a></li>
<li><a href="#">USA</a></li>
<li><a href="#">Australia</a></li>
</ul>
</li>
</ul>
any suggentsions as to how to do such using smarty ?
Thanks for you time .
--
Gregory Machin
greg@linuxpro.co.za
gregory.machin@gmail.com
www.linuxpro.co.za
Web Hosting Solutions
Scalable Linux Solutions
www.iberry.info (support and admin)
www.goeducation (support and admin)
+27 72 524 8096