duanjiaolao1187 2015-09-27 00:39
浏览 25

如何在drupal 7中创建动态菜单? 或许改变形式块?

I have a problem but do not know how to move, so I would advise ...

I want to create a dynamic menu in drupal (main-menu). The current one is ugly, is a list. I want a menu where there are different voices, and during the hover event appears a little window (with the sub). Or by moving a menu with submenus that are activated at the click of the item.

I have no problem with JavaScript to create anything ...

The real problem is that I do not know how to act to achieve this. In my case the main-menu is created (I think) from the module block.

Maybe I should change something in the form?

I wish I had some of your advice ... There are lightweight modules that allow me to create menus that? (editable adding file.js) ???

Thanks a lot..

and sorry if the question is too general.

EDIT

practically the main-menu is called #block-system-main-menu, I could create a js file that runs every "tag li" (menu items), and bring up submenus durnate the hover or click?

You think it's good as an idea? fast? or weight code, slow to load?

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 微信会员卡等级和折扣规则
    • ¥15 微信公众平台自制会员卡可以通过收款码收款码收款进行自动积分吗
    • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
    • ¥15 gdf格式的脑电数据如何处理matlab
    • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
    • ¥100 监控抖音用户作品更新可以微信公众号提醒
    • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
    • ¥70 2048小游戏毕设项目
    • ¥20 mysql架构,按照姓名分表
    • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分