第一步:把如下代码加入<body>区域中
<img src=http://zz.315top.com/news/6/"http://my.6to23.com/redriver/helpor/helpor.gif" name="u" border="0" alt="很好玩的">
<script language="JavaScript">
var b = 1;
var c = true;
function fade(){
if(document.all);
if(c == true) {
b++;
}
if(b==100) {
b--;
c = false
}
if(b==10) {
b++;
c = true;
}
if(c == false) {
b--;
}
u.width=150 + b;
u.height=125 - b;
setTimeout("fade()",50);
}
</script>
第二步:把<body>区域中改为
<body bgcolor="#fef4d9" onLoad="fade()">
<img src=http://zz.315top.com/news/6/"http://my.6to23.com/redriver/helpor/helpor.gif" name="u" border="0" alt="很好玩的">
<script language="JavaScript">
var b = 1;
var c = true;
function fade(){
if(document.all);
if(c == true) {
b++;
}
if(b==100) {
b--;
c = false
}
if(b==10) {
b++;
c = true;
}
if(c == false) {
b--;
}
u.width=150 + b;
u.height=125 - b;
setTimeout("fade()",50);
}
</script>
第二步:把<body>区域中改为
<body bgcolor="#fef4d9" onLoad="fade()">
上一篇:一种函数的计算方法并给出相应的曲线图片
下一篇:图片渐渐显示(谈入)
- 关于本站 - 网站帮助 - 广告合作 - 下载声明 - 友情连接 - 网站地图 - 管理登陆
- Copyright © 2003-2007 ZhuYe123.COM. All Rights Reserved . 粤ICP备05072659号
- 致力于中国个人网站发展,我们一直在努力!