首选可定制的逐步增强的下拉菜单/菜单?

发布于 2024-08-04 00:20:26 字数 338 浏览 4 评论 0原文

我正在查看 YUI 有什么, http://developer.yahoo.com/ yui/examples/button/btn_example07.html

有人可以推荐一个他们用来根据客户的请求逐步增强本机选择元素下拉列表的库/插件吗?我知道不可能在 IE 中设置下拉菜单的样式,所以我不想涉及这个或 Flash。

我仍然会在源代码中为非 JS 用户保留常规下拉列表,并提供由非表单控制元素构建的下拉列表副本。

I was looking at what YUI had, http://developer.yahoo.com/yui/examples/button/btn_example07.html

Can anyone recommend a library/plugin they used to progressively enhance native select element dropdowns at the request of a client? I know it's impossible to style a dropdown in IE, so it's either this or Flash which I don't want to get into.

I'll still leave the regular dropdown in the source for non-JS users and serve the dropdown replica built out of non-form control elements.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

阿楠 2024-08-11 00:20:26

假设你指的是与 YUI 不同的库,我喜欢 dojodijit.form.FilteringSelect

Assuming you mean a different library than YUI, I like dojo's dijit.form.FilteringSelect.

蔚蓝源自深海 2024-08-11 00:20:26

事实证明,这并没有那么困难,与下拉菜单的逻辑几乎相同,只是有一点额外的切换位。

Turns out it wasn't all that difficult, pretty much the same logic as a dropdown menu except with a little extra for the toggling bit.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文