태터데스크 관리자

도움말
닫기
적용하기   첫페이지 만들기

태터데스크 메시지

저장하였습니다.

Rainbow Tears

블로그 이미지
■■■■■■■■■ KIMSANGDON ■■■■■■■■■ Rainbow tears
by Kimsangdon

ARTICLE CATEGORY

. . . . . . (317)
INTRO (42)
DAILY (92)
ESSAYⅠ (34)
ESSAYⅡ (12)
ESSAYⅢ (3)
TRAVEL (21)
DATA (113)
OUTRO (0)
  • 162,658Total hit
  • 43Today hit
  • 406Yesterday hit






<script language='JavaScript'>
document.write('<st'+'yle>');
document.write('td {font-size:12px; font-family:굴림; text-decoration:none; }');
document.write('A:link,A:active,A:visited{text-decoration:none;font-size:12PX;color:#333333;}');
document.write('A:hover {text-decoration:none; color:ff9900}');
document.write('font { font-size: 9pt; }');
document.write('.cnj_drag { position:relative;cursor:hand }');
document.write('.cnj_input {background-color:rgb(240,240,240);border-width:1pt; height:16pt;cursor:hand;}');
document.write('.cnj_input2 {border-width:1; border-color:rgb(204,204,204); border-style:solid;}');
document.write('.cnj_input3 { border-width:1; border-style:solid; border-color:#000000; color:#0084D4; background-color:white;text-align:right;}');
document.write('.cnj_input4 { scrollbar-face-color: #FFCC33;scrollbar-shadow-color:  #ffffff;scrollbar-highlight-color: #F3f3f3;scrollbar-3dlight-color: #ffffff;scrollbar-darkshadow-color: #F3f3f3;scrollbar-track-color: #ffffff;scrollbar-arrow-color: #f9f9f9; }');
document.write('</st'+'yle>');
var ie=document.all
var ns6=document.getElementById&&!document.all
var dragapproved=false
var z,x,y
function move(e){
if (dragapproved){
z.style.left=ns6? temp1+e.clientX-x: temp1+event.clientX-x
z.style.top=ns6? temp2+e.clientY-y : temp2+event.clientY-y
return false
}
}

function drags(e){
if (!ie&&!ns6)
return
var firedobj=ns6? e.target : event.srcElement
var topelement=ns6? "HTML" : "BODY"

while (firedobj.tagName!=topelement&&firedobj.className!="cnj_drag"){
firedobj=ns6? firedobj.parentNode : firedobj.parentElement
}

if (firedobj.className=="cnj_drag"){
dragapproved=true
z=firedobj
temp1=parseInt(z.style.left+0)
temp2=parseInt(z.style.top+0)
x=ns6? e.clientX: event.clientX
y=ns6? e.clientY: event.clientY
document.onmousemove=move
return false
}
}
document.onmousedown=drags
document.onmouseup=new Function("dragapproved=false")
//-->
</script>

<!--
드래그 할 내용 추가시 이미지 파일은 class="cnj_drag"를 추가 하면 됩니다.
<img src="이미지파일gif" class="drag">
텍스트는 아래와 같은 방식으로 하구요
<div class="cnj_drag">텍스트 </div>
-->
<br>
<div class="cnj_drag">이미지나 텍스트 파일을 드래그 해서 이동해보세요</div><br><br>
<img src="../img/cnj-logo.gif" class="cnj_drag">
<div class="cnj_drag">
<font color="red">CGI </font>
<font color="blue">와 </font>
<font color="#00c600">JavaScript</font>
<font color="#000000">가 만났을 때=</font>
<font color="red">C</font>
<font color="black">.</font>
<font color="blue">n</font>
<font color="black">.</font>
<font color="#00c600">J</font>
</div>





이올린에 북마크하기(0) 이올린에 추천하기(0)
크리에이티브 커먼즈 라이선스
Creative Commons License
TRACKBACK 0 AND COMMENT 2

TRACKBACK http://rainbowtears.tistory.com/trackback/73 관련글 쓰기

  1. 감사 2008/11/06 15:41 address edit/delete reply

    덕분에 도움이 많이 되었습니다.
    감사합니다.^^

    • BlogIcon Kimsangdon 2008/11/06 17:24 address edit/delete

      도움이 되었다니 다행입니다. ^^