如何在页面上单击右键弹出一窗口 <script> function sss() { if (event.buttton=2) { window.open() } }</script><body onclick=sss()> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <script>function win_open(){ window.open(); return false;}</script><body oncontextmenu="win_open()"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><script language="JavaScript">function test(){window.open("http://www.csdn.net");return false;}</script></head><body oncontextmenu='return test();'></body></html> oncontextmenu一定要return false,要不然IE的采单就出来了 谁帮忙给想想这样的界面如何做? showModelessDialog大小动态设置,showModelessDialog大小随内容窗体大小变化 怎么做 JSON怎么进行删除操作 层的隐藏和显示问题? Iframe调用自适应高度问题 一个简单问题,送分! 如何让这个函数允许负值? javascript问题? 100分急求,JavaScript中文手册!!!!! 去掉ArrayList中相同数据 请教一个javascript小问题:在Head内与在body内的javascript代码有何区别? @@@@@@@@@@@ 控件,挡住了部份HTML该怎么办???
function win_open()
{
window.open();
return false;
}
</script>
<body oncontextmenu="win_open()">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript">
function test()
{
window.open("http://www.csdn.net");
return false;
}
</script>
</head><body oncontextmenu='return test();'></body>
</html>