English 中文(简体)
第7博士:在点击菜单时活跃的主要菜单
原标题:Drupal 7: active main menu when click menu block s menu

我有3种内容。

HTML HTML4 HTML5

2 menu block HTML4 HTML5

在我的主要菜单中,有2个菜单链接(HOME ± RUS)

HTML4 (menu block) show the contents of HTML4 (content type).

在用户点击超文本(主菜单)时,我配置了超文本4和超文本5(2个菜单)。 罚款。

My question is : how to active(highlighting) HTML(main menu) when the user click a link from the HTML4 or HTML5 (2 menu block) ?

Solution : I found the module name is "menu position" http://drupal.org/project/menu_position. This module make relationship between the main menu and content type.

最佳回答

do:

• 确保你利用自己的主题。

2> Write the css for the menu to highlight when one clicks inside.

To Know when the child of the menu is clicked

使用<代码>jQuery,以检查被点击的儿童,并以美元(第MenuDiv 号)在菜单上添加重点类别。 班级;

如果你担任你的菜单,我或许可以帮助 j。

问题回答

暂无回答




相关问题
Drupal Multi-language: Simple strings not translated

I m adding additional languages to a Drupal site that I m building. Getting the translation of content working is fairly easy using the Internationalisation module. Yet, simple things such as date ...

Setting up a WYSIWYG editor for Drupal site users [closed]

Looking through the Drupal contrib modules, and after a few Google searches, it becomes evident that there are any number of choices and combos available to set up a WYSIWYG editor in Drupal. I m ...

Change size of user/password login box

I don t know how to change the size of the login username/password boxes on the drupal site that I m trying to build. I m stumbling through the theming, and don t know where to find the file that ...

How does Drupal provide an edit/review/publish model?

How does Drupal support a means to update and review a website before it is published? Does it only allow you to preview a page at a time before you publish it or is there a way to create a site ...

Term for rotating header

I m looking for terminology that describes this behavior: The header of a web-page contains a different image every time you visit it. Update: It is not an advertisement, but images related to the ...

Has anyone checked out Drupal 7? [closed]

Has anyone checked out a copy of Drupal 7 yet? What do people think? I m pretty excited about the PDO and all of the designers I work with a very excited about the new admin interface/structure. Do ...

热门标签