国外设计欣赏网站 - DOOOOR.com

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

[Drupal模块] Drupal7、6、5减小嵌套菜单时要载入的页面数:DHTML menus模块

[复制链接]
发表于 1-27-2012 04:27 | 显示全部楼层 |阅读模式
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

|2011-2026-版权声明|平台(网站)公约|DOOOOR 设计网 ( 吉ICP备2022003869号 )

GMT+8, 5-2-2025 08:45 , Processed in 0.373843 second(s), 118 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表