关闭

3D特效

标签: functionjavascriptobjectc
1325人阅读 评论(0) 收藏 举报
分类:
<body bgcolor="#fef4d9" onLoad="fadeIn(16)">
<SCRIPT LANGUAGE="JavaScript">
<!-- Hide from old browsers
var Color= new Array(9);
Color[1] = "ff";
Color[2] = "ee";
Color[3] = "dd";
Color[4] = "cc";
Color[5] = "bb";
Color[6] = "aa";
Color[7] = "99";
Color[8] = "88";
Color[9] = "77";
Color[10] = "66";
Color[11] = "55";
Color[12] = "44";
Color[13] = "33";
Color[14] = "22";
Color[15] = "11";
Color[16] = "00";
/* Do not display text on a fading background. Instead, let it
fade in and out once or twice, then load a new page.        */
function fadeIn(where) {
if (where >= 1) {
document.bgColor="#" + Color[where] +"0000";  
where -= 1;
setTimeout("fadeIn("+where+")", 15);
} else {
setTimeout('fadeOut(1)', 15);
   }
}
function fadeOut(where) {
if (where <=16) {
document.bgColor="#" + Color[where] +"0000";
where += 1;
setTimeout("fadeOut("+where+")", 15)
} else {
setTimeout("fadeIn(16)", 15);
// window.location.href="http://www.netscape.com/";
   }
}
// Unhide -->
</SCRIPT>
<center>
<OBJECT ID="DAViewer" STYLE="width:288;height:231;top:50;z-index:-1;position:relative;border:0 solid black;" CLASSID="CLSID:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D"></OBJECT>
<SCRIPT LANGUAGE="JScript">
<!--
m = DAViewer.PixelLibrary;
myPic = m.ImportImage("http://bbs.273c.com/UploadFile/2004-7/2004731105639145.gif");
myRotate = m.Rotate3RateDegrees(m.Vector3(0,1,1),45).ParallelTransform2()
myImg = myPic.Transform(myRotate)
DAViewer.Image = myImg;
DAViewer.Start();
//-->
</SCRIPT>
</center>
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:1857857次
    • 积分:27214
    • 等级:
    • 排名:第220名
    • 原创:824篇
    • 转载:58篇
    • 译文:2篇
    • 评论:492条
    文章分类
    电子商务