62,072
社区成员
发帖
与我相关
我的任务
分享
function openLogin()
{
loc_x=document.body.scrollLeft+event.clientX-event.offsetX+100;
loc_y=document.body.scrollTop+event.clientY-event.offsetY+170;
window.showModalDialog("Login.aspx",self,"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:350px;dialogHeight:350px;dialogTop:"+loc_y+"px;dialogLeft:"+loc_x+"px");
}
if(session["name"].Tostring=="" || session["name"].tostring==Null)
{
ScriptManager.RegisterStartupScript(this, GetType(), "js", "openLogin();", true);
}