分隔符属性在 DotNetNuke Skin.ascx 上的 SolPartMenu 中不起作用
我可以让 rootmenuitemlefthtml 和 rootmenuitemrighthtml 发出,但不能发出分隔符。 尝试 CDATA 包装和设置 SeparatorCssClass。 我只想要根菜单项之间的管道。
<dnn:SOLPARTMENU runat="server" id="dnnSOLPARTMENU" Separator="<![CDATA[|]]>" SeparatorCssClass="MainMenu_SeparatorCSS"
usearrows="false"
userootbreadcrumbarrow="false" usesubmenubreadcrumbarrow="false"
rootmenuitemlefthtml=" <span> " rootmenuitemrighthtml=" </span>" rootmenuitemcssclass="rootmenuitem"
rootmenuitemselectedcssclass="rootmenuitemselected" rootmenuitembreadcrumbcssclass="rootmenuitembreadcrumb"
submenucssclass="submenu" submenuitemselectedcssclass="submenuitemselected" submenuitembreadcrumbcssclass="submenuitembreadcrumb"
CSSNodeSelectedRoot="rootmenuitembreadcrumb" CSSNodeSelectedSub="submenuitembreadcrumb"
MouseOverAction="False" MouseOutHideDelay="0"
delaysubmenuload="true" level="Root" />
I can get rootmenuitemlefthtml and rootmenuitemrighthtml to emit but not separator. Tried CDATA wrapping and setting SeparatorCssClass. I just want pipes between root menu items.
<dnn:SOLPARTMENU runat="server" id="dnnSOLPARTMENU" Separator="<![CDATA[|]]>" SeparatorCssClass="MainMenu_SeparatorCSS"
usearrows="false"
userootbreadcrumbarrow="false" usesubmenubreadcrumbarrow="false"
rootmenuitemlefthtml=" <span> " rootmenuitemrighthtml=" </span>" rootmenuitemcssclass="rootmenuitem"
rootmenuitemselectedcssclass="rootmenuitemselected" rootmenuitembreadcrumbcssclass="rootmenuitembreadcrumb"
submenucssclass="submenu" submenuitemselectedcssclass="submenuitemselected" submenuitembreadcrumbcssclass="submenuitembreadcrumb"
CSSNodeSelectedRoot="rootmenuitembreadcrumb" CSSNodeSelectedSub="submenuitembreadcrumb"
MouseOverAction="False" MouseOutHideDelay="0"
delaysubmenuload="true" level="Root" />
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
虽然不是直接答案 - 您可能想要切换到 DotNetNuke 菜单而不是使用 SolPart。 SolPart 不再受到官方支持,该菜单的开发工作大约在两年前停止。 SolPart 的作者 Jon Henning 从头开始编写了 DotNetNuke 菜单,并试图解决原始 SolPart 菜单中的许多缺点。
While not a direct answer - you might want to shift to the DotNetNuke menu rather than using SolPart. SolPart is no longer officially supported and development work on this menu ceased almost two years ago. Jon Henning, the author of SolPart, wrote the DotNetNuke menu from the ground up and tried to address many of the shortcomings in the original SolPart menu.
检查 Solpartmenu:
Check this for Solpartmenu: