想在default.aspx的pageload中加入验证如果session(ID)存在弹出个对话框有两个按钮让用户选择修改刚录入的单据edit.aspx或重新录入新的add.aspx.。这个对话框要求最好是弹出的层,覆盖整个所有frameset。不知哪位高人做过呢?
解决方案 »
- 问什么我的做的网页传到FTP后 打开会出现google提供的广告。。[
- 请问asp.net中iframe怎样自适应高度
- asp.net中session问题
- 讨论http://club.chinaren.com/bbs/index.jsp?boardid=0是怎么实现的.来者有分!!!
- 急急?
- 一个DataView使用了Sort=""排序之后,为什么对它 AddNew 新加记录时,记录行会跑到第一行??
- SQL数据库中的datetime字段问题.
- 走过,路过,千万不要错过!进来看一看,瞧一瞧!!
- 如何将<转成<
- 小弟向各位大侠讨教了-----!
- 请教及讨论 如何实现ASP.NET 网上银行接口 在线支付功能
- 获得路径的问题
window.showModalDialog("new.aspx");
js 遮照层
function openWindow2(zindex,width,height,alpha){
var iWidth = document.documentElement.scrollWidth;
var bgDiv = document.createElement("div");
bgDiv.id="bg";
bgDiv.style.cssText = "top:0;width:"+iWidth+"px;height:"+document.documentElement.scrollHeight+"px;filter:Alpha(Opacity="+alpha+");opacity:0.3;z-index:"+zindex+";";
document.body.appendChild(bgDiv);
var msgDiv=document.createElement("div");
msgDiv.id="msg";
msgDiv.style.cssText ="position: absolute;z-index:"+(zindex+1)+";width:"+width+"px; height:"+(height=="auto"?height:(height+"px"))+";";
document.body.appendChild(msgDiv);
}
$(document).ready(function() {
$("#id").colorbox({ width: "65%", height: "80%", iframe: true, overlayClose: false,
onClosed: function() {
RefreshDataTable(oTable);
}
});
});
JQuery遮罩层登录界面实现
window.location.href="newPage.aspx"这样就转向了新页面啊。你需要了解html和HTMLDOM的知识
我用此语句现在经常被脑残的IE当广告屏掉。现在我不得不转向jquery