묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
저. 이 소스 오류에 대해.
2003.08.21 19:45
http://my.dreamwiz.com/iisunii/webdstip/dhtml/dhtml37a.htm<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<script language="JavaScript">
<!--
var picture1="http://time0238.com.ne.kr/s1.jpg"
var picture2="http://time0238.com.ne.kr/s2.jpg"
var picture3="http://time0238.com.ne.kr/s3.jpg"
var picture4="http://time0238.com.ne.kr/s4.jpg"
var picture5="http://time0238.com.ne.kr/s5.jpg"
var picture6="http://time0238.com.ne.kr/s6.jpg"
var picture7="http://time0238.com.ne.kr/s7.jpg"
var picture8="http://time0238.com.ne.kr/s8.jpg"
var picturewidth=780
var pictureheight=150
//-->
</script>
<script language="JavaScript">
<!--
if (document.all) {
document.write('<OBJECT ID="DAControl_Wipe" ')
document.write('STYLE="width:'+picturewidth+';height:'+pictureheight+'"')
document.write('CLASSID="CLSID:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D">')
document.write('</OBJECT>')
m = DAControl_Wipe.MeterLibrary;
whatTransformation = new ActiveXObject("DXImageTransform.Microsoft.Wipe");
whatPictures = new Array();
whatPictures[0] = m.ImportImage(picture1);
whatPictures[1] = m.ImportImage(picture2);
whatPictures[2] = m.ImportImage(picture3);
whatPictures[3] = m.ImportImage(picture4);
whatPictures[4] = m.ImportImage(picture5);
whatPictures[5] = m.ImportImage(picture6);
whatPictures[6] = m.ImportImage(picture7);
whatPictures[7] = m.ImportImage(picture8);
forward = m.Interpolate(0, 1, 2, 3, 4, 5, 6, 7, 3);
back = m.Interpolate(7, 6, 5, 4, 3, 2, 1, 0, 3);
whatMovement = m.Sequence(forward, back).RepeatForever();
whatTransformation.GradientSize = 1.0;
whatTransformation.WipeStyle = 0;
theResult = m.ApplyDXTransform( whatTransformation, whatPictures, whatMovement );
DAControl_Wipe.Image = theResult.OutputBvr;
DAControl_Wipe.Start();
}
//-->
</script>
</body>
</html>
이렇게 하면 오류가 걸리는데요... 왜그렇죠? 원래 그림이 2개짜리라 건드리는것이 두려워요..-_-
원본소스는
<script language="JavaScript">
<!--
var picture1="kissofgod01.jpg"
var picture2="kissofgod02.jpg"
var picturewidth=300
var pictureheight=200
//-->
</script>
<script language="JavaScript">
<!--
if (document.all) {
document.write('<OBJECT ID="DAControl_Wipe" ')
document.write('STYLE="width:'+ '+ '+picturewidth+';height:'+pictureheight+'"')
document.write('CLASSID="CLSID:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D">')
document.write('</OBJECT>')
m = DAControl_Wipe.MeterLibrary;
whatTransformation = new ActiveXObject("DXImageTransform.Microsoft.Wipe");
whatPictures = new Array();
whatPictures[0] = m.ImportImage(picture1);
whatPictures[1] = m.ImportImage(picture2);
forward = m.Interpolate(0, 1, 3);
back = m.Interpolate(1, 0, 3);
whatMovement = m.Sequence(forward, back).RepeatForever();
whatTransformation.GradientSize = 1.0;
whatTransformation.WipeStyle = 0;
theResult = m.ApplyDXTransform( whatTransformation, whatPictures, whatMovement );
DAControl_Wipe.Image = theResult.OutputBvr;
DAControl_Wipe.Start();
}
//-->
</script>
입니다. 링크는 신의키스에 있는 원본
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<script language="JavaScript">
<!--
var picture1="http://time0238.com.ne.kr/s1.jpg"
var picture2="http://time0238.com.ne.kr/s2.jpg"
var picture3="http://time0238.com.ne.kr/s3.jpg"
var picture4="http://time0238.com.ne.kr/s4.jpg"
var picture5="http://time0238.com.ne.kr/s5.jpg"
var picture6="http://time0238.com.ne.kr/s6.jpg"
var picture7="http://time0238.com.ne.kr/s7.jpg"
var picture8="http://time0238.com.ne.kr/s8.jpg"
var picturewidth=780
var pictureheight=150
//-->
</script>
<script language="JavaScript">
<!--
if (document.all) {
document.write('<OBJECT ID="DAControl_Wipe" ')
document.write('STYLE="width:'+picturewidth+';height:'+pictureheight+'"')
document.write('CLASSID="CLSID:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D">')
document.write('</OBJECT>')
m = DAControl_Wipe.MeterLibrary;
whatTransformation = new ActiveXObject("DXImageTransform.Microsoft.Wipe");
whatPictures = new Array();
whatPictures[0] = m.ImportImage(picture1);
whatPictures[1] = m.ImportImage(picture2);
whatPictures[2] = m.ImportImage(picture3);
whatPictures[3] = m.ImportImage(picture4);
whatPictures[4] = m.ImportImage(picture5);
whatPictures[5] = m.ImportImage(picture6);
whatPictures[6] = m.ImportImage(picture7);
whatPictures[7] = m.ImportImage(picture8);
forward = m.Interpolate(0, 1, 2, 3, 4, 5, 6, 7, 3);
back = m.Interpolate(7, 6, 5, 4, 3, 2, 1, 0, 3);
whatMovement = m.Sequence(forward, back).RepeatForever();
whatTransformation.GradientSize = 1.0;
whatTransformation.WipeStyle = 0;
theResult = m.ApplyDXTransform( whatTransformation, whatPictures, whatMovement );
DAControl_Wipe.Image = theResult.OutputBvr;
DAControl_Wipe.Start();
}
//-->
</script>
</body>
</html>
이렇게 하면 오류가 걸리는데요... 왜그렇죠? 원래 그림이 2개짜리라 건드리는것이 두려워요..-_-
원본소스는
<script language="JavaScript">
<!--
var picture1="kissofgod01.jpg"
var picture2="kissofgod02.jpg"
var picturewidth=300
var pictureheight=200
//-->
</script>
<script language="JavaScript">
<!--
if (document.all) {
document.write('<OBJECT ID="DAControl_Wipe" ')
document.write('STYLE="width:'+ '+ '+picturewidth+';height:'+pictureheight+'"')
document.write('CLASSID="CLSID:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D">')
document.write('</OBJECT>')
m = DAControl_Wipe.MeterLibrary;
whatTransformation = new ActiveXObject("DXImageTransform.Microsoft.Wipe");
whatPictures = new Array();
whatPictures[0] = m.ImportImage(picture1);
whatPictures[1] = m.ImportImage(picture2);
forward = m.Interpolate(0, 1, 3);
back = m.Interpolate(1, 0, 3);
whatMovement = m.Sequence(forward, back).RepeatForever();
whatTransformation.GradientSize = 1.0;
whatTransformation.WipeStyle = 0;
theResult = m.ApplyDXTransform( whatTransformation, whatPictures, whatMovement );
DAControl_Wipe.Image = theResult.OutputBvr;
DAControl_Wipe.Start();
}
//-->
</script>
입니다. 링크는 신의키스에 있는 원본