如何使用jQuery创建一个弹出窗口

问题描述:

大家好,

我想为我的项目创建一个联系人来自"弹出窗口.但是我的问题是我想在另一个页面中以弹出窗口的形式显示一个新页面,是否有可能使用jquery或javascript作为弹出窗口.

例如:-在"home.aspx"页面中,如果我单击联系我们",则要显示一个联系我们"链接,我想显示一个新页面(页面名称为"Contact.aspx")作为弹出窗口.

如果可能,请提供示例和链接.


谢谢所有

hi everyone,

i want to create a popup window "contact from" for my project.but my problem is i want to show a new page as popup in another page is it possible to a page as popup using jquery or javascript.

ex:- in "home.aspx" page i am showing a link "Contact Us" if i click in that "Contact Us" i want to show a new page(page name "Contact.aspx") as popup.

if possible please provide examples and links .


Thanks all

看看这个 http://jqueryui.com /demos/dialog/ [ ^ ]或此
http://www.w3schools.com/jsref/met_win_open.asp [如何使用Google和其他提示来查找编程帮助 [
Have a look at this http://jqueryui.com/demos/dialog/[^] or this
http://www.w3schools.com/jsref/met_win_open.asp[^] or this
How to Use Google and Other Tips for Finding Programming Help[^]


尝试
ASP.NET 3.5中的按钮,消息框和确认框 [
Try
Buttons, Message Box, and Confirm Box in ASP.NET 3.5[^]