drupal 7弹出窗口(或如何显示禁用的链接)
我刚刚开始使用 drupal,我有一个问题。我有一个主菜单,但某些链接/部分还没有内容,我想在用户单击它时显示一个带有“即将推出”图例的弹出窗口。然而,唯一可能有帮助的 模块 还不能与 D7 一起使用,我不知道是否有办法手动进行。
如果不可能,是否有办法让这些没有内容的链接仍然显示,但将其禁用,以便用户无法单击它们?
I'm just starting drupal and I have a question. I have a main menu but some links/sections have no content yet, and I want to show a pop up window with a 'coming soon' legend when the user clicks it. However the only module that might help does not work with D7 yet and I don't know if there's a way to do it manually.
If it weren't possible, is there a way to have these links without content still appear but have them disabled so users can't click them?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我还没有测试过,但这可能对您有帮助:
http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_add_js/7
I haven't tested it but this might help you:
http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_add_js/7