最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
javascript 慢慢变大的窗口 效果代码
时间:2010-07-14 编辑:简简单单 来源:一聚教程网
<script language="网页特效">
<!--
var windows
var windows
var numx=5
function openwindow(thelocation){
temploc=thelocation
if
(!(window.resizeto&&document.all)&&!(window.resizeto&&document.getelementbyid))
{
window.open(thelocation)
return
}
windowsize=window.open("","","scrollbars")
windowsize.moveto(0,0)
windowsize.resizeto(100,100)
tenumxt()
}
function tenumxt(){
if (windowsheight>=screen.availheight-3)
numx=0
windowsize.resizeby(5,numx)
windowsheight+=5
windowswidth+=5
if (windowswidth>=screen.width-5)
{
windowsize.location=temploc
windows
windows
numx=5
return
}
settimeout("tenumxt()",50)
}
//-->
</script>
<p><a href="javascript:openwindow(http://www.111com.net)">进入</a>
-
下一个: 网页常用Javascript 代码
相关文章
- HTML简单购物数量小程序代码展示 10-31
- html canvas实现弹幕功能 10-31
- HTML中空格表示的意义 10-31
- html area标签解读 10-31
- html使用表单标签实现注册页面代码展示 10-31
- 使用HTML截图并保存为本地图片的代码展示 10-31