<script language="javascript"> var title="Name"; var url="small.aspx";var Width="100"; var Height="100"; var Top=window.screen.height-0; var Left=window.screen.height-0; var return_Value; window.open(url,title,"width=" + Width + "px,height=" + Height + "px,resizable=0,scrollbars=0,Top="+Top+"px,Left="+Left+"px"); </script>输出JAVASCRIPT 就可以了
var title="Name";
var url="small.aspx";var Width="100";
var Height="100";
var Top=window.screen.height-0;
var Left=window.screen.height-0;
var return_Value;
window.open(url,title,"width=" + Width + "px,height=" + Height + "px,resizable=0,scrollbars=0,Top="+Top+"px,Left="+Left+"px");
</script>输出JAVASCRIPT 就可以了
Text="新增明细" EnableTheming="True" onclick="AddDictate_Click" />楼主;可以google 下window.showModalDialog
有参数的讲解..
<script language="javascript" type="text/javascript">
function open()
{
window.showModalDialog('pro_category_select.aspx',window,'height:600px;width:800px;top:100px;left:200px;location:no;menubar:no;resizable:yes;scrollbars:yes;status:yes;titlebar:no;toolbar:no;directories:no');
}
</script>
<a onclick="javascript:open();" href="#">弹出窗口</a>