哪一个最好:facebox、thickbox、jquery ui 对话框,还是其他?
哪一个最适合用于:
- 图像
- 常规 div 内容
- ajax 加载内容
- 表单以发布到服务器
which one is the best to use for:
- images
- regular div content
- ajax loaded content
- forms to post to server
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我会推荐 ColorBox 和 jQuery UI Dialog,尽管 UI Dialog 在显示图像方面会较弱。我个人认为 ColorBox 能够以更好的方式处理图像,因为 Dialog 被构建为一个对话框:)。
更新:显然,ColorBox 服务器由于某种原因关闭了。你必须相信我的话......哈哈。希望快点起来吧该代码也在 Github 上提供。
I would recommend both ColorBox and jQuery UI Dialog, though UI Dialog will be weaker on displaying images. I personally think ColorBox handles images in nicer way considering Dialog was built to be, well, a dialog :).
Update: Apparently the ColorBox server is down for some reason. You'll have to take my word for it... haha. Hope its up soon. The code is also available on Github.
Shadowbox 是猫的喵声。
Shadowbox is the cat's meow.
我认为这类事情大多是主观的;我过去使用过灯箱和脸箱。它们都非常易于使用并且看起来很棒。
I suppose this sort of thing is mostly subjective; I've used lightbox and facebox in the past. They are both easy enough to use and look great.
我使用过 Thickbox,发现它很容易实现...它也很通用...图像、表单都得到很好的支持...是的。也适用于 ajax 加载的内容..!
Jquery UI 仅提供一些基本功能。它对于表单和警报非常好。但不太适合图像......
I've used Thickbox and found it's easy to implement... It's versatile too... Images, Forms are well supported.... and yes. for ajax loaded content too..!
Jquery UI provids only some basic functionalities.. It's pretty good with forms and alerts.. but not that much suitable for images...