Transform and twist an image into various lengths and widths
Author:Eve Cole
Update Time:2009-07-02 17:12:46
Step 1: Add the following code to the <body> area
<img src="/u/info_img/2009-07/02/helpor.gif" name="u" border="0" alt="Very fun">
<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>
Step 2: Change the <body> area to
<body bgcolor="#fef4d9" onLoad="fade()">