# 自定义页眉链接

**URL:** https://meta.discourse.org/t/custom-header-links/90588
**Category:** Theme component
**Tags:** official, custom-header-links
**Created:** [2018年六月24日 10:22 UTC](https://meta.discourse.org/t/custom-header-links/90588 "2018-06-24T10:22:32Z")
**Posts on this page:** 1
**Showing post:** 106

<div class="post-metadata">

### Author: ![bekircem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekircem/32/44582_2.png) [@bekircem](https://meta.discourse.org/u/bekircem)
#### Post date: [2020年十一月9日 18:05 UTC](https://meta.discourse.org/t/custom-header-links/90588/106 "2020-11-09T18:05:21Z")

</div>

是否可以为任意项目添加一些基本的下拉菜单？

我无法使用“自定义标题链接”创建下拉菜单。似乎 [Zoom](https://devforum.zoom.us/) 实现了这一功能。我通过控制台检查了他们的下拉菜单，但无法弄清楚他们是如何干扰该组件的 HTML 以向任意项目添加下拉菜单的。

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/5/656b022dc6ddb150c1c72d63ee88b70f78fc7980.png)

有没有办法将此下拉菜单添加到项目中？@Johani

```html
<div id="dropdown">
  <a title="Zoom 开发者文档" href="https://marketplace.zoom.us/docs" target="_blank">开发者</a>
  <span class="caret"></span>
  <div class="dropdown-content">
    <a title="Zoom API 文档" href="https://marketplace.zoom.us/docs/api-reference/introduction" target="_blank">API</a>
    <a title="Zoom SDK 文档" href="https://marketplace.zoom.us/docs/sdk/native-sdks/introduction" target="_blank">SDK</a>
    <a title="Zoom 开发者博客" href="https://medium.com/zoom-developer-blog" target="_blank">博客</a>
    <a title="Zoom 开发者更新日志" href="https://marketplace.zoom.us/docs/changelog" target="_blank">更新日志</a>
    <a title="Zoom 开发者调查" href="https://docs.google.com/forms/d/e/1FAIpQLSeJPLhNuxjtkxyyV276R8S_nYz99fpMbbS8VWkC8Hwi7-2Byg/viewform" target="_blank">调查</a>
  </div>
</div>

```

---

_[View the full topic](https://meta.discourse.org/t/custom-header-links/90588)._
