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

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

帖子

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

[复制链接]
发表于 1-27-2012 04:27 | 显示全部楼层 |阅读模式
DHTML menus 利用 javascript DHTML 技术来减小嵌套菜单时要载入的页面数,尤其是 Drupal 的管理系统。
当你点击一个有子项的 Drupal 菜单时,需要等待页面刷新后才能看到你要的,而通过 DHTML Menus 子菜单会在你点击上级菜单后立刻展开。
! D9 N, x( \: u. x) c
7 r: J4 j: [, H/ y$ n8 y
; E7 m; B# V1 L; f( O. F
' |  b) B) H9 X, L2 \4 d
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.
7 j" i0 D- J- {8 b
/ N% Z9 S" \% i8 Z

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

GMT+8, 4-30-2025 19:52 , Processed in 0.362013 second(s), 118 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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