如何使用Javascripts改变自身窗口的位置?急 <body onload="moves()"><script>function moves(){window.move(0,50);}</script> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>无标题文档</title><script language="javascript"> function testwindow(){ window.moveto(0,0); alert("hello"); }</script></head><body <form name="form1" method="post" action=""> <input type="button" name="Submit" value="按钮" onClick="testwindow()"></form></body></html>好像不行呀,看看那位能帮忙当点击按钮时把窗口移动到0,0位置。 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>无标题文档</title><script language="javascript"> function testwindow(){ window.moveTo(0,0); alert("hello"); }</script></head><body <form name="form1" method="post" action=""> <input type="button" name="Submit" value="按钮" onClick="testwindow()"></form></body></html>兄弟,帮你测试过了,你再看看, 鼠标移上去样式修改求助 二行JS,帮忙看看,先谢谢了,是关于如何把后台代码绑定到前台的? 如何在js代码里为某个id加入一个点击事件?[急,急,急,急,在线等] JavaScript中如何限制输入框只能输入数字或IP地址 网页背景自动更换···怎么没其作用· 有关于image对像问题 请问这个怎样赋予初始值?在线等! iframe的使用问题 如何让 videojs 支持 flv 格式视频 highcharts 绘制正逆方向两个一样的Y轴 怎样用JS调用.exe和.bat文件? 请问如何在左frame的元素中得到右frame元素的变化
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<script language="javascript">
function testwindow(){
window.moveto(0,0);
alert("hello");
}
</script>
</head><body
<form name="form1" method="post" action="">
<input type="button" name="Submit" value="按钮" onClick="testwindow()">
</form>
</body>
</html>好像不行呀,看看那位能帮忙当点击按钮时把窗口移动到0,0位置。
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<script language="javascript">
function testwindow(){
window.moveTo(0,0);
alert("hello");
}
</script>
</head><body
<form name="form1" method="post" action="">
<input type="button" name="Submit" value="按钮" onClick="testwindow()">
</form>
</body>
</html>兄弟,帮你测试过了,你再看看,