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

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

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

[复制链接]
发表于 1-27-2012 04:27 | 显示全部楼层 |阅读模式
DHTML menus 利用 javascript DHTML 技术来减小嵌套菜单时要载入的页面数,尤其是 Drupal 的管理系统。
当你点击一个有子项的 Drupal 菜单时,需要等待页面刷新后才能看到你要的,而通过 DHTML Menus 子菜单会在你点击上级菜单后立刻展开。

0 b/ ~+ r: ], p! a
; Y. E- ~' Y- c) [9 [  J4 @' Q6 W2 j2 w6 d# S

( F; E6 y+ P$ o- X' |/ O
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.# ?+ M+ z$ t" U$ x  b

7 F. o: H- j! ^

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

GMT+8, 6-19-2025 00:24 , Processed in 0.313816 second(s), 119 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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