开发者

Using Zend_Navigation, how do I create image-based navigation?

(I'm assuming my navigation should be in a layout script.)

I have a nav开发者_如何转开发igation bar composed of rollover images. The image corresponding to the page that is active should be a different color, though. I do this by changing the image. My question is, where and how should I implement this using Zend_Navigation?

Details: The menu itself is just a stack of divs that are floated to the left within a container. Each div has a background image.

Thank you for your help,


$this->navigation ()->breadcrumbs ()->setPartial ('your_own_breadcrumbs.phtml');

And then in scripts/your_own_breadcrumbs.phtml render the menu any way you like.

foreach ($this->pages as $page)
{
    ...
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜