<HTML>
<head>
<script language="javascript">
/*@cc_on @*/
/*@if (@_win32 && @_jscript_version>=5)
function window.onbeforeunload() //author: meizz
{
var b = window.event.clientX > window.meizzCaption.document.body.clientWidth - 20;
if(b && window.event.clientY < 0 || window.event.altKey)
{
window.open("a.htm");
}
}
@end @*/
</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta content="F.R.Huang(meizz梅花雨)//www.meizz.com" name="author">
</head>
<frameset id="frameHead" rows="84, *" framespacing="0" border="0" frameborder="0">
<frame name="meizzCaption" scrolling="no" SRC="Caption.aspx" noresize>
<frame name="meizzMain" scrolling="no" SRC="main.htm" noresize>
<noframes>
<body>
<h2 align="center">对不起!你的浏览器不支持框架网页</h2>
</body>
</noframes>
</frameset>
</HTML>
<head>
<script language="javascript">
/*@cc_on @*/
/*@if (@_win32 && @_jscript_version>=5)
function window.onbeforeunload() //author: meizz
{
var b = window.event.clientX > window.meizzCaption.document.body.clientWidth - 20;
if(b && window.event.clientY < 0 || window.event.altKey)
{
window.open("a.htm");
}
}
@end @*/
</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta content="F.R.Huang(meizz梅花雨)//www.meizz.com" name="author">
</head>
<frameset id="frameHead" rows="84, *" framespacing="0" border="0" frameborder="0">
<frame name="meizzCaption" scrolling="no" SRC="Caption.aspx" noresize>
<frame name="meizzMain" scrolling="no" SRC="main.htm" noresize>
<noframes>
<body>
<h2 align="center">对不起!你的浏览器不支持框架网页</h2>
</body>
</noframes>
</frameset>
</HTML>
解决方案 »
- 目标节点的获取疑问?
- Microsoft JScript 运行时错误: “TABLE1_onclick”未定义
- 麻烦大家帮我看一下这段代码,为什么alert不好用呢??!! 我想要做两次密码不同就警示和不输入完整信息就警示的操作!
- 谷歌地图怎么在地图上画线呢??
- 求助向百度一样的下拉菜单,要求三联,感激不尽~!!
- 下拉列表
- constructor使用的问题
- 我做的网站,大家给的意见?
- 急求关于屏蔽鼠标的一个问题!在线等!
- 大神去哪儿?!我自己组装的json数据 传到后台 会部分丢失 是为什么
- 求:输入n,则显示出本年第n个星期的周一的日期和周日的日期?
- 求助:如何给“input file”动态赋值
<head>
<title></title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<script language="javascript">
function openwin(){
var strfeature="left=200,top=200,height=200,width=200,status,titlebar";
window.open("p4.htm","winname",strfeature);
}
</script>
</head>
<body onunload="openwin()">sdfsfs</body>
</html>
我全文Copy你的代码测试,No problem!
但我只Copy其中<script></script>内容到我的页面,却实现不了,
百思不得其解,望指教!注:我的框架页是通过以下得到。
<html><head>
<script language=javascript>
function openkuanjia(){
window.open("kuanjia.php","index",'Status=no,scrollbars=no,resizable=no');
}
</script>
</head>
<body>
<p align="center">
<a href=# onclick=openkuanjia()>框架页</a>
</body></html>你的代码我放在kuanjia.php的<head></head>之间。