问:关于屏蔽菜单的问题? 只能在用window.open或window.shoModalDialog打开的窗口中实现这个要求 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 例一:window.open方法<a href="http://www.sohu.com" onclick=window.open("Sample.htm",null, "height=200,width=400,status=no,toolbar=no,menubar=no,location=no")>sohu</a>status 状态栏toolbar 工具栏menubar 菜单栏location 地址栏================================================================================例二:window.showModalDialog方法<a href="http://www.sohu.com" onclick=window.showModalDialog("Sample.htm",null, "center:1;help:0;status:0")>sohu</a>center 是否居中help 是否出现帮助按钮status 是否出现状态栏 window.open("Son.htm",, "height=200,width=400,status=no,toolbar=no,menubar=no,location=no") <script language="javascript"><!--function openwindow( url, winName, width, height) {xposition=0; yposition=0;if ((parseInt(navigator.appVersion) >= 4 )){xposition = (screen.width - width) / 2;yposition = (screen.height - height) / 2;}theproperty= "width=" + width + "," + "height=" + height + "," + "location=0," + "menubar=0,"+ "resizable=1,"+ "scrollbars=1,"+ "status=0," + "titlebar=0,"+ "toolbar=0,"+ "hotkeys=0,"+ "screenx=" + xposition + "," //仅适用于Netscape+ "screeny=" + yposition + "," //仅适用于Netscape+ "left=" + xposition + "," //IE+ "top=" + yposition; //IE window.open( url,winName,theproperty );}//--></script> 脑子不好用 大家说说这个效果用jquery实现。。。 js控制背景颜色的问题,谁告诉我一下 如何实现点<input type="file" name="file1" id="file1">浏览图显示问题 如何将图片以编码的方式嵌入到网页中。不用图片文件的格式存在 Js如何取得a所在的ul id 急!大家帮忙了!50分在线等!JAVASCRIPT实现图片变换! 如何禁止document.write的页面被单独打开? 请问js怎样实现这个效果呢? 复选框问题。。。。。。? 数据库3级联动 dataTransfer和clipboardData有什么区别? 怎么打开一个网页对话框?
<a href="http://www.sohu.com" onclick=window.open("Sample.htm",null,
"height=200,width=400,status=no,toolbar=no,menubar=no,location=no")>sohu</a>status 状态栏
toolbar 工具栏
menubar 菜单栏
location 地址栏
================================================================================
例二:window.showModalDialog方法
<a href="http://www.sohu.com" onclick=window.showModalDialog("Sample.htm",null,
"center:1;help:0;status:0")>sohu</a>center 是否居中
help 是否出现帮助按钮
status 是否出现状态栏
"height=200,width=400,status=no,toolbar=no,menubar=no,location=no")
<!--
function openwindow( url, winName, width, height)
{
xposition=0; yposition=0;
if ((parseInt(navigator.appVersion) >= 4 ))
{
xposition = (screen.width - width) / 2;
yposition = (screen.height - height) / 2;
}
theproperty= "width=" + width + ","
+ "height=" + height + ","
+ "location=0,"
+ "menubar=0,"
+ "resizable=1,"
+ "scrollbars=1,"
+ "status=0,"
+ "titlebar=0,"
+ "toolbar=0,"
+ "hotkeys=0,"
+ "screenx=" + xposition + "," //仅适用于Netscape
+ "screeny=" + yposition + "," //仅适用于Netscape
+ "left=" + xposition + "," //IE
+ "top=" + yposition; //IE
window.open( url,winName,theproperty );
}
//-->
</script>