各位大神 我在页面上编辑了用javascript编辑了窗口属性也就是windows.open,新的
窗口打开后,像工具条,菜单栏和resizable这些都没显示出来,求指点;
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript" language="javascript">
function openwindow() {
window.open("HTMLPage.htm", "图片窗口", "toolbars=1,scrollbars=1,location=1,statusbars=1,menubars=1,resizable=1,width=500,height=250")
}
</script>
<style type="text/css">
body{background-image:(image/IMG_2796.JPG);}
</style>
</head>
<body>
<form id="form1" runat="server">
<asp:Button ID="btnshow" runat="server" Text="点击" OnClientClick="openwindow()" />
</form>
</body>
</html>