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

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

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

[复制链接]
发表于 1-27-2012 04:27 | 显示全部楼层 |阅读模式
DHTML menus 利用 javascript DHTML 技术来减小嵌套菜单时要载入的页面数,尤其是 Drupal 的管理系统。
当你点击一个有子项的 Drupal 菜单时,需要等待页面刷新后才能看到你要的,而通过 DHTML Menus 子菜单会在你点击上级菜单后立刻展开。
4 ?2 O' t. N5 \
. `6 Y- n# i. g( Y
! N8 B5 z/ i. }+ d
8 I+ Z( n& E# x( b1 s$ k4 Y
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.8 N. M  l0 c; w* j- C
/ T5 j$ c4 G- L3 n. [

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

GMT+8, 11-11-2025 13:43 , Processed in 0.180650 second(s), 64 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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