📄 打开逐渐放大的窗口.txt
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
<script language=JavaScript>
var mylocation="6.htm";//将地址改为你要打开的地址
var winheight=100;
var winsize=100;
var x=5;
function go(){
win2=window.open("","","scrollbars");
win2.location=mylocation;
if (!document.layers&&!document.all){
win2.location=mylocation; return;}
win2.resizeTo(100,100);
win2.moveTo(0,0);
go2();}
function go2(){
if (winheight>=screen.availHeight-3) x=0; win2.resizeBy(5,x); winheight+=5; winsize+=5;
if (winsize>=screen.width-5){
win2.location=mylocation;
winheight=100; winsize=100; x=5; return;}
setTimeout("go2()",50);}
</script>
</head>
<body>
<a href=javascript:go()>再打开自己</a>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -