多页Jquery模式对话框在一页? [英] Multiple Jquery modal Dialog Boxes in one page?

查看:130
本文介绍了多页Jquery模式对话框在一页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是jquery的新兴品牌,尝试为我正在开展的技术网站提供服务页面。我在窗口中打开相同信息时遇到困难。

I am brand stinking new to jquery and attempting to have a "Services" page for a tech website I am working on. I am having trouble with different services opening the same info in the window.

基本上我正在使用代码直接从演示。任何关于如何在同一页面中有多个窗口的想法?

Basically I am using the code straight from the demo. Any ideas on how to have multiple windows in the same page?

谢谢!

推荐答案

许多模态对话框可以通过使用iFrame将数据插入到模态对话框中。我不知道你使用的是哪个插件(或内置的jQuery,我猜),但我相当肯定它允许你有一个模态对话框,其内容根据所点击的内容而改变。

Many modal dialog boxes have the ability to insert data into the modal dialog by use of an iFrame. I'm not sure which plugin you are using (or the built-in jQuery ones I guess) but I'm fairly certain that it allows you to have one modal dialog whose content changes based on what was clicked.

这篇关于多页Jquery模式对话框在一页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆