本文介绍了屏幕右上角的“显示弹出窗口"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨!
如何在屏幕右侧显示弹出窗口.
示例代码:
Hi!
how to display popup window at the right hand side of the screen.
Sample Code:
function ShowCallSummary()
{
var program = "<%= hidFkProgramGlCode.ClientID.ToString()%>";
var phase = '<%= hidPhaseNo.ClientID %>';
var agent = '<%= hidAgentGlCode.ClientID %>';
var myWindow = window.self;
var WinSettings = "center:no; resizable:no; dialogHeight:190px; dialogWidth:120px; edge:Raised; help:No; status:No;"
var programCode = document.getElementById(program).value;
var phaseNo = document.getElementById(phase).value;
var agentCode = document.getElementById(agent).value;
var myArg = new Array(programCode, phaseNo, agentCode);
window.showModalDialog("CallSummary.aspx?program=" + programCode + "&phase=" + phaseNo + "&agent=" + agentCode, myWindow, WinSettings);
}
请尽快给我答复.
谢谢&问候,
Minal Shah.
Pls reply me as soon as possible.
Thanks & Regards,
Minal Shah.
推荐答案
这篇关于屏幕右上角的“显示弹出窗口"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!