简体   繁体   English

经过战斗测试的jquery / javascript下拉菜单

[英]battle tested jquery / javascript drop down menus

Drop Down menus are a common and almost ubiquitous UI element, and yet, I find it really hard to "pick one". 下拉菜单是一个常见且几乎无处不在的UI元素,但是,我发现很难“选择一个”。 before heading down the long road of rolling and "battle testing" my own, I'd like to put it out there and find out what others are using. 在走我自己的漫长滚动和“战斗测试”之路之前,我想把它放在那里,看看别人在用什么。

What are the most popular solutions for jquery, or javascript dropdown menus ? jQuery或javascript下拉菜单最受欢迎的解决方案是什么?

Should be, lightweight, easy to customise and properly cross browser compatible, and at least function appropriately down to IE8. 应该是轻量级的,易于自定义的并且可以正确地跨浏览器兼容,并且至少可以正常运行到IE8。

Ones I've tried and used in the past with the best experience that meet this criteria inlcude : 我过去尝试过并使用过的,具有满足此条件的最佳经验的人包括:

To Clarify: looking specifically for multilevel drop down menus similar to the examples above. 澄清:专门寻找类似于上面示例的多级下拉菜单。 I'm also open to "avoid these they're sh*t" type answers if you feel so inclined. 如果您愿意的话,我也乐于为您提供“避免这些提示”的答案。

PS: please avoid adding 5 from one of the 500 drop down menu articles that appear when first searching on google, I'd like to know about what YOU"RE using, what dropdown menus YOU love and hate. 附言:请避免在第一次在Google上搜索时出现的500个下拉菜单文章中的5个添加5个,我想知道您正在使用什么,您喜欢和讨厌的下拉菜单。

have you tried this may be this can give you what you want 你尝试过这可能是这可以给你你想要的

http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/ http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/

I personally have used SuperFish, in it's standard form, it's not too pretty but with quite a bit of adjustments I find it can look quite nice. 我个人使用过SuperFish,它不是标准格式,虽然不太漂亮,但是经过大量调整后,我觉得它看起来很不错。

Then using something like this: http://snook.ca/archives/javascript/jquery-bg-image-animations 然后使用类似以下的内容: http : //snook.ca/archives/javascript/jquery-bg-image-animations

Demo: http://snook.ca/technical/jquery-bg/ 演示: http//snook.ca/technical/jquery-bg/

Can make them look very cool! 可以使它们看起来很酷!

经过大量的研究和讨论,老实说,我对这方面的选择感到非常失望,但有很多选择,但是如上所述,滚动我自己的选择似乎是最好的方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM