top
Loading...
把一張圖片變形扭曲成各種不同的長寬
第一步:把如下代碼加入<body>區域中
<img src="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()">


北斗有巢氏 有巢氏北斗