Javascript 什么是 jQuery 厚盒的最佳替代品

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2050174/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-22 22:34:58  来源:igfitidea点击:

What is the best alternative for jQuery thickbox

javascriptjqueryjquery-plugins

提问by Teja Kantamneni

As jQuery thickbox is not maintained anymore (as of ThickBox 3.1), what is the best alternative for jQuery thickbox currently available under GPL or similar license. Looks nyromodalis best available so far, but is there anything better. (nyromodal has some problems in IE 6)

由于不再维护 jQuery厚盒(从ThickBox 3.1 开始),目前在 GPL 或类似许可下可用的 jQuery厚盒的最佳替代品是什么。到目前为止,看起来nyromodal是最好的,但还有什么更好的。(nyromodal 在 IE 6 中有一些问题)

I am looking for a plugin which can handle ajax forms, inline content replacement, images, using hidden elements and ajax call with flexibility using the callback mechanisms..

我正在寻找一个插件,它可以处理 ajax 表单、内联内容替换、图像、使用隐藏元素和使用回调机制灵活调用 ajax 调用..

采纳答案by Teja Kantamneni

After some research and lot of quick prototyping, I feel like my old companion Nyromodalis the only option left for me, which gives me flexibility of controlling it using its extensive api, I went through other options given by the users and topup and blockui came closer (rest of them are also good, but doesn't meet my needs). But guys, thanks for the help and input.

经过一些研究和大量的快速原型设计,我觉得我的老伙伴Nyromodal是我唯一的选择,这让我可以灵活地使用其广泛的 api 来控制它,我经历了用户提供的其他选项,topup 和 blockui 来了更接近(其余的也不错,但不能满足我的需求)。但是伙计们,感谢您的帮助和投入。

回答by Doug Neiner

I always used slimbox, but found out about ColorBoxthe other day. It is awesometo say the least. It seems that every feature and detail was thought about and executed brilliantly. We just used it at our studio for the first time this week, but it seems really excellent.

我一直使用 slimbox,但前几天发现了ColorBox。至少可以说是很棒的。似乎每个功能和细节都经过深思熟虑并出色地执行。本周我们刚刚在我们的工作室第一次使用它,但它看起来真的很棒。

It has a ton of options and even callback events. Definitely check it out.

它有大量的选项,甚至回调事件。一定要检查一下。

回答by Newbie

What about (a little modified Version of) ui.dialog? ( http://jqueryui.com/demos/dialog/) I haven't tested it yet, but it seems to work without any problems.

ui.dialog(稍加修改的版本)怎么样?( http://jqueryui.com/demos/dialog/) 我还没有测试过,但它似乎没有任何问题。

回答by Eric Palakovich Carr

回答by James

Check out the Flowplayer overlay http://flowplayer.org/tools/demos/overlay/index.html, this is one of the nicest ones I've seen.

查看 Flowplayer 叠加http://flowplayer.org/tools/demos/overlay/index.html,这是我见过的最好的叠加之一。

回答by James Wiseman

We've used BlockUI to great effect:

我们已经使用 BlockUI 取得了很好的效果:

http://malsup.com/jquery/block/

http://malsup.com/jquery/block/

http://malsup.com/jquery/block/#demos

http://malsup.com/jquery/block/#demos

Its from the same author as the the forms plugin, amongst others, so should be pretty solid!

它与表单插件的作者相同,因此应该非常可靠!

回答by rashid

Jquery UI Dialog will work, but you will have to learn other jQuery and jQuery UI components (Ajax, tab strips and 3rd party image viewer plugins).

Jquery UI Dialog 可以使用,但您必须学习其他 jQuery 和 jQuery UI 组件(Ajax、标签条和 3rd 方图像查看器插件)。

I like the Jquery approach which will allow you build on a consistent framework, as opposed to downloading random and maybe not very compatible application-specific widgets.

我喜欢 Jquery 方法,它允许您在一致的框架上构建,而不是下载随机且可能不太兼容的特定于应用程序的小部件。