TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Help with a JavaScript Drop-Down Menu

1 点作者 myoung8将近 18 年前
Does anyone know if there's a tutorial somewhere on how to build the kind of drop-down menus seen on Facebook and Versionate?

3 条评论

henryw将近 18 年前
The new Dreamweaver CS3 comes with a Spry menu widget, which is probably the easiest to use. You could download a demo here: <a href="http://www.download.com/3000-2048_4-10701454.html" rel="nofollow">http://www.download.com/3000-2048_4-10701454.html</a><p>jQuery has some really cool plugins, which include menu related. <a href="http://docs.jquery.com/Plugins" rel="nofollow">http://docs.jquery.com/Plugins</a><p>Or use some not so new codes from dynamicdrive.com: <a href="http://dynamicdrive.com/dynamicindex1/index.html" rel="nofollow">http://dynamicdrive.com/dynamicindex1/index.html</a>
ordersup将近 18 年前
make sure what you use is primary-browser compliant. if it isn't, make sure there is a fail-safe system of code/css that allows the person to still easily navigate the site. one additional thing: make sure that if your site is to be crawled by search engines, that the menus don't appear "blind" to them as that will reduce their crawling capabilities/performance.
mm将近 18 年前
onclick="Element.toggle('menu_id')"