묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
자바스크립트 질문입니다.
2004.01.19 10:35
미리보기 페이지는 http://wdowon.cafe24.com/windows/start01.html 입니다
이 부분에서 창 닫기를 누르면 창이 닫히게 하려면 어디에다가 창 닫기 소스를 넣어야 할까요?
(창 닫기의 이미지명은 startclose,startclose01.gif입니다)
<html>
<script type="text/javascript" language="JavaScript1.2" src="stm31.js"></script>
<body><script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["menu5a7d",400,"","blank.gif",1,"stgcl()","300",0,1,150,0,600,1,0,0,""],this);
stm_bp("p0",[1,4,0,0,0,0,0,7,100,"",-2,"",-2,10,0,0,"#fffff7","#fffff7","",3,0,0,"#ffffff"]);
stm_ai("p0i0",[2,"","start.gif","start01.gif",94,30,0,"","_self","","","","",0,0,0,"","",7,7,0,0,1,"#fffff7",0,"#ffffff",0,"","",3,3,0,0,"#fffff7","#ffffff","#000000","#000000","8pt Verdana","8pt Verdana",0,0]);
stm_bpx("p1","p0",[1,3,0,0,0,0,0,0,100,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.35)",-2,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.35)",-2,75]);
stm_aix("p1i0","p0i0",[2,"","startmain.gif","startmain01.gif",226,37,0,"","_self","","","","",0,0,0,"","",0,0]);
stm_aix("p1i1","p1i0",[2,"","startphoto.gif","startphoto01.gif",226,32]);
stm_aix("p1i2","p1i1",[2,"","startboard.gif","startboard01.gif"]);
stm_bpx("p2","p0",[1,2,0,0,0,0,0,0,100,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.10)",-2,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.10)",-2,100]);
stm_ai("p2i0",[6,1,"#999999","",0,0,0]);
stm_aix("p2i1","p1i0",[2,"","freeboard.gif","freeboard01.gif",249,20]);
stm_aix("p2i2","p2i1",[2,"","qna.gif","qna01.gif"]);
stm_aix("p2i3","p2i1",[2,"","humor.gif","humor01.gif"]);
stm_aix("p2i4","p2i0",[]);
stm_ep();
stm_aix("p1i3","p1i1",[2,"","startplay.gif","startplay01.gif"]);
stm_bpx("p3","p2",[]);
stm_aix("p3i0","p2i0",[]);
stm_aix("p3i1","p2i1",[2,"","icon.gif","icon01.gif"]);
stm_aix("p3i2","p2i1",[2,"","oekaki.gif","oekaki01.gif"]);
stm_aix("p3i3","p2i0",[]);
stm_ep();
stm_aix("p1i4","p1i0",[2,"","startabout.gif","startabout01.gif",226,34]);
stm_aix("p1i5","p1i0",[2,"","startpds.gif","startpds01.gif",226,33]);
stm_aix("p1i6","p1i0",[2,"","startlogin.gif","startlogin01.gif"]);
stm_aix("p1i7","p0i0",[2,"","startclose.gif","startclose01.gif",226,33,0,"","_self","","","","",0,0,0,"","",0,0,0,0,1,"#fffff7",0,"#ffffff",0,"startclose.gif","startclose01.gif",3,3,0,0,"#fffff7","#ffffff","#000000","#000000","21pt Verdana","21pt Verdana"]);
stm_ep();
stm_ep();
stm_em();
//-->
</script>
</body>
</html></script><script>function GEBJDGBAD(){}</script><script>function onSelectStartFilter(){document.onselectstart=GEBJDGBAD;if (document.body)document.body.onselectstart=GEBJDGBAD;if (document.location.href.indexOf("saycastplayer") == -1){document.ondragstart=GEBJDGBAD;if (document.body)document.body.ondragstart=GEBJDGBAD;}}onSelectStartFilter();attachEvent("onload", onSelectStartFilter);document.attachEvent("onload", onSelectStartFilter);if (document.body)document.body.attachEvent("onload", onSelectStartFilter);</script><script>function onContextMenuFilter(){document.oncontextmenu=GEBJDGBAD;if (document.body)document.body.oncontextmenu=GEBJDGBAD;}onContextMenuFilter();attachEvent("onload", onContextMenuFilter);document.attachEvent("onload", onContextMenuFilter);if (document.body)document.body.attachEvent("onload", onContextMenuFilter);</script>
이 부분에서 창 닫기를 누르면 창이 닫히게 하려면 어디에다가 창 닫기 소스를 넣어야 할까요?
(창 닫기의 이미지명은 startclose,startclose01.gif입니다)
<html>
<script type="text/javascript" language="JavaScript1.2" src="stm31.js"></script>
<body><script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["menu5a7d",400,"","blank.gif",1,"stgcl()","300",0,1,150,0,600,1,0,0,""],this);
stm_bp("p0",[1,4,0,0,0,0,0,7,100,"",-2,"",-2,10,0,0,"#fffff7","#fffff7","",3,0,0,"#ffffff"]);
stm_ai("p0i0",[2,"","start.gif","start01.gif",94,30,0,"","_self","","","","",0,0,0,"","",7,7,0,0,1,"#fffff7",0,"#ffffff",0,"","",3,3,0,0,"#fffff7","#ffffff","#000000","#000000","8pt Verdana","8pt Verdana",0,0]);
stm_bpx("p1","p0",[1,3,0,0,0,0,0,0,100,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.35)",-2,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.35)",-2,75]);
stm_aix("p1i0","p0i0",[2,"","startmain.gif","startmain01.gif",226,37,0,"","_self","","","","",0,0,0,"","",0,0]);
stm_aix("p1i1","p1i0",[2,"","startphoto.gif","startphoto01.gif",226,32]);
stm_aix("p1i2","p1i1",[2,"","startboard.gif","startboard01.gif"]);
stm_bpx("p2","p0",[1,2,0,0,0,0,0,0,100,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.10)",-2,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.10)",-2,100]);
stm_ai("p2i0",[6,1,"#999999","",0,0,0]);
stm_aix("p2i1","p1i0",[2,"","freeboard.gif","freeboard01.gif",249,20]);
stm_aix("p2i2","p2i1",[2,"","qna.gif","qna01.gif"]);
stm_aix("p2i3","p2i1",[2,"","humor.gif","humor01.gif"]);
stm_aix("p2i4","p2i0",[]);
stm_ep();
stm_aix("p1i3","p1i1",[2,"","startplay.gif","startplay01.gif"]);
stm_bpx("p3","p2",[]);
stm_aix("p3i0","p2i0",[]);
stm_aix("p3i1","p2i1",[2,"","icon.gif","icon01.gif"]);
stm_aix("p3i2","p2i1",[2,"","oekaki.gif","oekaki01.gif"]);
stm_aix("p3i3","p2i0",[]);
stm_ep();
stm_aix("p1i4","p1i0",[2,"","startabout.gif","startabout01.gif",226,34]);
stm_aix("p1i5","p1i0",[2,"","startpds.gif","startpds01.gif",226,33]);
stm_aix("p1i6","p1i0",[2,"","startlogin.gif","startlogin01.gif"]);
stm_aix("p1i7","p0i0",[2,"","startclose.gif","startclose01.gif",226,33,0,"","_self","","","","",0,0,0,"","",0,0,0,0,1,"#fffff7",0,"#ffffff",0,"startclose.gif","startclose01.gif",3,3,0,0,"#fffff7","#ffffff","#000000","#000000","21pt Verdana","21pt Verdana"]);
stm_ep();
stm_ep();
stm_em();
//-->
</script>
</body>
</html></script><script>function GEBJDGBAD(){}</script><script>function onSelectStartFilter(){document.onselectstart=GEBJDGBAD;if (document.body)document.body.onselectstart=GEBJDGBAD;if (document.location.href.indexOf("saycastplayer") == -1){document.ondragstart=GEBJDGBAD;if (document.body)document.body.ondragstart=GEBJDGBAD;}}onSelectStartFilter();attachEvent("onload", onSelectStartFilter);document.attachEvent("onload", onSelectStartFilter);if (document.body)document.body.attachEvent("onload", onSelectStartFilter);</script><script>function onContextMenuFilter(){document.oncontextmenu=GEBJDGBAD;if (document.body)document.body.oncontextmenu=GEBJDGBAD;}onContextMenuFilter();attachEvent("onload", onContextMenuFilter);document.attachEvent("onload", onContextMenuFilter);if (document.body)document.body.attachEvent("onload", onContextMenuFilter);</script>
댓글 2
-
eThis
2004.01.19 17:37
답변좀 해주세요...ㅠ_ㅠ[털썩..] -
김윤희
2004.01.19 18:02
<a herf="" onClick="self.close()"><img src="startclose01.gif" border=0></a>
해보세요..