加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

zend-framework – 将CSS类添加到Zend Navigation的内部页面

发布时间:2020-12-13 17:09:58 所属栏目:PHP教程 来源:网络整理
导读:是否可以在Zend Navigation中的内部页面中添加CSS类?我正在尝试实施 twitter bootstrap navigation dropdown 谢谢! 解决方法 我对一个项目有同样的要求.我扩展了Menu视图助手来完成这项工作,并在 Github上提供了代码 07001 Description This Zend Framewor
是否可以在Zend Navigation中的内部页面中添加CSS类?我正在尝试实施 twitter bootstrap navigation dropdown

谢谢!

解决方法

我对一个项目有同样的要求.我扩展了Menu视图助手来完成这项工作,并在 Github上提供了代码

07001

Description

This Zend Framework View Helper extends the existing Zend_View_Helper_Navigation_Menu view helper to render dropdown menus compatible with the format required in Twitter Bootstrap. The automatic dropdown functionality requires adding various class,id,and data-toggle attributes,which Zend Framework’s menu view helper doesn’t natively support

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读