DHTML menus 利用 javascript DHTML 技术来减小嵌套菜单时要载入的页面数,尤其是 Drupal 的管理系统。 当你点击一个有子项的 Drupal 菜单时,需要等待页面刷新后才能看到你要的,而通过 DHTML Menus 子菜单会在你点击上级菜单后立刻展开。 & R0 i7 q+ W3 T- n3 m( j! B7 p
^. ^" K; x+ v7 i; z1 p
) D K7 J+ c r( ?: W: g& I! I: b) F u
DHTML Menu uses Javascript to reduce the number of page loads when using nested menus; this is particularly useful with Drupal's administration system.Ordinarily in Drupal, in order to see the sub-items in a menu, you need to click the link of this item and wait for a full page load. After enabling DHTML Menu, clicking a menu link once will expand it to reveal its sub-items without reloading the page. A double-click on the item will load the page normally. Additionally, a cookie stores which menus are open and which are closed, so that the state of the menus remain consistent as you navigate around the site.Note: In 6.x-3.0 and all later versions, DHTML Menu starts working as soon as the module is enabled. There are no blocks to replace and no block options to enable.#D7CX: DHTML Menu has a D7 test version and will have a stable release for Drupal 7 the day Drupal 7 is released.* u6 V! l) o9 H8 F. h
! j( @1 T& t' T; a0 A6 M% S |