jquery 手风琴性能
有谁知道在性能成为问题之前 jQuery 手风琴可以处理多少个元素?我有一个嵌套的手风琴结构,在根级别有十个项目,然后每个根项目中都有一些嵌套项目,嵌套级别为三或四。性能无法使用。即使有两个级别也不是很好。有人有什么至理名言吗?
Does anyone know how many elements a jQuery accordion can handle before performance becomes a problem? I have a nested accordion structure with ten items at the root level, and then a handful of nested items within each root item down to a nesting level of three or four. Performance is unusable. It isn't great even with two levels. Anyone got any words of wisdom?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
作为信息,IE7 开始与分布在三个级别的数百个条目苦苦挣扎。铬很好。如果您正在考虑使用手风琴,我建议您在采用该技术之前先用实际音量进行测试。
For information, IE7 started struggling with a few hundred entries sprinkled over three levels. Chrome was fine. If you are considering using the accordion I would recommend testing with realistic volumes before committing to that technique.