在C#中用javascript弹出一个高200宽200的新窗口的代码怎么写呀?

来源:百度知道 编辑:UC知道 时间:2024/05/10 02:54:44
求各位朋友们帮帮忙!!!多谢了!!

<a style="border:none;background-color: AliceBlue;text-decoration: underline ;" href="要代开的页面.htm" onclick="javascript:window.open(this.href,'newwindow','height=200,width=200,top=114,left=490,toolbar=no,menubar=no,scrollbars=no,resizable=yes,location=no,status=no');return false;" target="_blank>打开新窗口</a>

你可以在页面上添加一个服务器端的Label控件,把上面的内容赋给Label控件的Text属性,注意"和'前需要有转义符,也可以直接输出字符串或是用其他的一些服务器端控件实现

JS也能实现的.别的就不是很清楚了啊