javascript php中的灯箱在弹出窗口中显示信息
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15338840/
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
Lightbox in php to show information in pop-up
提问by MGR
I'm Developing an application, that have several Pages for the application. And In it i thought to Say one information in it, it the user like to proceed means they can continue or can drop that..
我正在开发一个应用程序,该应用程序有多个页面。我想在其中说一个信息,用户喜欢继续意味着他们可以继续或可以放弃它..
Now i have query like,..
现在我有这样的查询,..
<input type="Button" onclick="window.open(myPage.php)" target="_blank" value="Guess It..!"/>
It opens a new page for showing the Data,.. Its looking good. But just now i came to knew about the Lightbox functionality in PHP with javascript. I Heard that it will perform my process in the Same page without disturbing the Previous one, it came as pop-up and after completing its Process we can close and continue our previous process..
它打开一个显示数据的新页面,.. 看起来不错。但刚刚我开始了解 PHP 中使用 javascript 的 Lightbox 功能。我听说它会在同一页面中执行我的流程而不会干扰上一个流程,它以弹出窗口的形式出现,在完成其流程后,我们可以关闭并继续我们之前的流程..
I Hope i will help to my user to work easily without any confusion with the New Tab Open option, now i'm searching for the lightbox Tutorial, anybody suggest me for the Best tutorial or examples..
我希望我能帮助我的用户轻松工作,而不会与“新标签页打开”选项混淆,现在我正在寻找灯箱教程,任何人都向我推荐最佳教程或示例。
回答by Kasyx
回答by Abbas
Download and use this fancy box..This will be easy for you to implement and customize based on reqs.
下载并使用这个花哨的盒子..这将很容易让你实现和基于 reqs 定制。
For using it, refer http://fancybox.net/howto.
要使用它,请参阅http://fancybox.net/howto。
Hope it helps.
希望能帮助到你。