Rotating GIFs and JPGs
페이지 정보
작성자 서방님 댓글 0건 조회 353회 작성일 06-09-14 14:26본문
<OBJECT ID="imageobj2"
STYLE="position:absolute;top:10px;left:10px;width:280;height:280"
CLASSID="CLSID:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D">
</OBJECT>
<OBJECT ID="imageobj"
STYLE="position:absolute;top:10px;left:10px;width:280;height:280"
CLASSID="CLSID:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D">
</OBJECT>
<SCRIPT LANGUAGE="JavaScript">
// CREDITS:
// Rotating GIFs and JEPGs with DirectAnimation by Urs Dudli and Peter Gehrig
// Copyright (c) 1999 Peter Gehrig and Urs Dudli. All rights reserved.
// Permission given to use the script provided that this notice remains as is.
// Additional scripts can be found at http://www.24fun.ch.
// info@24fun.ch
// 12/30/1999
// IMPORTANT:
// If you add this script to a script-library or script-archive
// you have to add a link to http://www.24fun.ch on the webpage
if (document.all) {
m = imageobj2.MeterLibrary;
myimage = m.ImportImage("http://www.jsmadeeasy.com/javascripts/Image%20Effects/Rotating%20GIFs%20and%20JPGs/cover2812.gif");
myimage = myimage.Transform(m.Rotate2Rate(-.1));
imageobj2.Image = myimage;
imageobj2.Start();
m = imageobj.MeterLibrary;
myimage = m.ImportImage("http://www.jsmadeeasy.com/javascripts/Image%20Effects/Rotating%20GIFs%20and%20JPGs/lulu2812.jpg");
myimage = myimage.Transform(m.Rotate2Rate(.1));
imageobj.Image = myimage;
imageobj.Start();
}
if (document.layers) {
alert("Sorry Netscape-User!nnThis script works only with Internet Explorer 4 and higher.")
}
</SCRIPT>
저작권관련해서 머라고 써있네요. 넷스케이프는 지원안된데요.
http://www.jsmadeeasy.com/ 좋은정보가 많은거같어요
댓글목록
등록된 댓글이 없습니다.