弹出一个层 我想点击Button按钮然后弹出一个可关闭的层,层中显示另一个网页中的内容 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 jquery lightbox插件。jquery ui 的 dialogbox jquery中jwindowDIVhttp://topic.csdn.net/u/20090811/23/a0812cf7-4989-408b-b73c-ad6faf458369.html 你可以利用jquery dialog这个功能可以弹出层具体看一个简单的实例http://www.designcss.org/jquery-plugin/dialog/dialog.html###官方网站插件http://jqueryui.com/demos/dialog/ 可以自已用js写,也可以用jquery框架里dialogajaxtoolkit里也有类似控件 JS:<div id="a" style="position:absolute;top:100px;left:100px;display:none"><iframe src="../default.html"></iframe></div><input type="button" onClick="getElementById('a').style.display='block';"> 遮盖效果的只能是弹出一个浮动的iframe,里面src指定页面,在iframe下面再覆盖一个全页面的div,遮盖所有的,可以是透明的.这样就可以 function showModel(){ divModalDialog.style.display = "block"; resizeModal(); window.onresize = resizeModal;}function closeModel(){ divModal.style.width = "0px"; divModal.style.height = "0px"; divModalDialog.style.display = "none"; window.onresize = null;}function resizeModal(){ divModal.style.width = document.body.scrollWidth; divModal.style.height = document.body.scrollHeight; divModalDialog.style.left = (document.body.scrollWidth / 2) - 160; divModalDialog.style.top = 60;} 驾校预约系统一大早报这个错误 请问一个打包的问题。 给行业网站办“增值电信业务经营许可证”和“网络经营登记证”的问题 关于JAVASCRIPT ajax的问题!很简单的! 无刷新图片验证码 visual studio 2005的基础问题 有关同步及性能问题。 ListBox为什么选来选去都是第一个 asp.net 有关页面访问效率的问题 ASP.NET没有用,急诊! WebService 的 Session 问题 希望大大解答 控件问题
jquery ui 的 dialogbox
DIV
http://topic.csdn.net/u/20090811/23/a0812cf7-4989-408b-b73c-ad6faf458369.html
这个功能可以弹出层
具体看一个简单的实例
http://www.designcss.org/jquery-plugin/dialog/dialog.html###
官方网站插件
http://jqueryui.com/demos/dialog/
ajaxtoolkit里也有类似控件
<iframe src="../default.html"></iframe>
</div><input type="button" onClick="getElementById('a').style.display='block';">
{
divModalDialog.style.display = "block";
resizeModal();
window.onresize = resizeModal;
}
function closeModel()
{
divModal.style.width = "0px";
divModal.style.height = "0px";
divModalDialog.style.display = "none";
window.onresize = null;
}
function resizeModal()
{
divModal.style.width = document.body.scrollWidth;
divModal.style.height = document.body.scrollHeight;
divModalDialog.style.left = (document.body.scrollWidth / 2) - 160;
divModalDialog.style.top = 60;
}