Joomla 3.0创建虚拟菜单项 [英] Joomla 3.0 creating dummy menu item

查看:71
本文介绍了Joomla 3.0创建虚拟菜单项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这似乎很基础,但我只是不知道该如何寻找答案.

This seems so elementary, but I just don't exactly know how to even look for the answer.

我将Joomla 3.0与Protostar模板一起使用,并且尝试创建一个菜单项(使用水平导航丸样式),该菜单项在单击时将仅显示子菜单项,而不是刷新页面,然后显示一个子菜单.就目前而言,我不知道如何以没有关联自身链接的方式创建顶部菜单项.

I'm using Joomla 3.0 with the Protostar template, and I'm trying to create a menu item (using the horizontal nav-pills style) which will, when clicked, cause only the submenu items to display, as opposed to refreshing the page THEN showing a submenu. As it is now, I can't figure out how to create the top menu item in a way that it doesn't have its own link associated with it.

例如,我的前三个菜单项是主页",订单",工作人员".如果单击职员",则不希望它带我到任何其他页面,只需向我显示职员的子菜单即可.我该怎么办?

For example, my top three menu items are "Home", "Orders", "Staff". If I click Staff, I don't want it to take me to any other page, just show me a submenu of the staff members. How can I do this?

我尝试使用菜单标题"菜单项类型,但它甚至没有创建为链接,只是纯文本-更不用说CSS了.

I've tried using a "menu header" menu item type, but it doesn't even create it as a link, just plain text -- not to mention the CSS is all wrong.

推荐答案

菜单项类型->系统链接->文本分隔符.然后创建其他菜单项作为此元素的子项.

Menu item type -> System Links -> Text Separator. Then create other menu items as children of this element.

这篇关于Joomla 3.0创建虚拟菜单项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆