아래소스를 홈페이지 msn 친구추가기능이 필요한 곳에 삽입하세요

* 경고 본인 아이디로 설정후 로그인할경우 오류가 납니다.

Ctrl + F 를 누르시고 haksabank@hotmail.com 를 찾으셔서 본인의 MSN 으로 바꿔주세요



<!--엠에스엔 메신저 상담 시작-->
            <script language="JavaScript">
                                //메신저 자동 등록
                                  //<!-------------msn 자동 등록 소스----------------->
                                var MISTATUS = new Array()
                                
                                MISTATUS['MISTATUS_UNKNOWN'] = new Array(0, '');
                                MISTATUS['MISTATUS_OFFLINE'] = new Array(1, '오프라인');
                                MISTATUS['MISTATUS_ONLINE'] = new Array(2, '온라인');
                                MISTATUS['MISTATUS_INVISIBLE'] = new Array(6, '오프라인으로 표시');
                                MISTATUS['MISTATUS_BUSY'] = new Array(10, '다른 용무 중');
                                MISTATUS['MISTATUS_BE_RIGHT_BACK'] = new Array(14, '곧 돌아오겠음');
                                MISTATUS['MISTATUS_IDLE'] = new Array(18, '노는 중');
                                MISTATUS['MISTATUS_AWAY'] = new Array(34, '자리 비움');
                                MISTATUS['MISTATUS_ON_THE_PHONE'] = new Array(50, '통화 중');
                                MISTATUS['MISTATUS_OUT_TO_LUNCH'] = new Array(66, '식사 중');
                                MISTATUS['MISTATUS_LOCAL_FINDING_SERVER'] = new Array(256, '서버 찾는 중');
                                MISTATUS['MISTATUS_LOCAL_SYNCHRONIZING_WITH_SERVER'] = new Array(768, '서버 동기 중');
                                MISTATUS['MISTATUS_LOCAL_CONNECTING_TO_SERVER'] = new Array(512, '서버 연결 중');
                                MISTATUS['MISTATUS_LOCAL_DISCONNECTING_FROM_SERVER'] = new Array(1024, '서버 연결 끊는 중');
                                
                                function AddContactUI(email) {
                                                if (!BlnConversation()) {
                                                                objMessengerApp.Signin(0, "", "");
                                                } else {
                                                                objMessengerApp.AddContact(0, email);
                                                }
                                }
                                
                                function OpenConversationWindow(email) {
                                                if (!BlnConversation()) {
                                                                objMessengerApp.Signin(0, "", "");
                                                AddContactUI(email);
                                                } else {
                                                                objMessengerApp.InstantMessage(email);
                                                AddContactUI(email);
                                                }
                                }
                                  // 대화가능 상태면 true 아니면 false
                                function BlnConversation() {
                                                if (objMessengerApp.MyStatus >= MISTATUS['MISTATUS_ONLINE'][0] && objMessengerApp.MyStatus <= MISTATUS['MISTATUS_OUT_TO_LUNCH'][0]) {
                                                                return true;
                                                } else {
                                                                return false;
                                                }
                                }
                                
                                  // 현재 상태
                                function GetMyStatusName() {
                                                for (var i in MISTATUS) {
                                                                if (objMessengerApp.MyStatus == MISTATUS[i][0]) {
                                                                                return MISTATUS[i][1];
                                                                }
                                                }
                                                return '';
                                }
                                // -->
                                <!-- // 메쉰저 자동등록 끝//-->
                        </script> <DIV class=main id=msn style="Z-INDEX: 2; LEFT: 24px; WIDTH: 190px; POSITION: absolute; TOP: 710px; HEIGHT: 49px">
              <!--javascript:OpenConversationWindow('메신저 주소');-->
              <OBJECT id=objMessengerApp height=0 codeType=application/x-oleobject width=0 classid=clsid:B69003B3-C55E-4B48-836C-BC5946FC3B28>
              </OBJECT>
              <TABLE class=main cellSpacing=0 cellPadding=0 width=160 border=0>
                <TBODY>
                  <TR>
                    <TD> <SCRIPT language=JavaScript1.2>
                                        //configure the below five variables to change the style of the scroller
                                        var scrollerwidth=155
                                        var scrollerheight=17
                                        var scrollerbgcolor='#white'
                                        //set below to '' if you don't wish to use a background image
                                        var scrollerbackground='scrollerback.gif'
                                        
                                        //configure the below variable to change the contents of the scroller
                                        var messages=new Array()
                                        messages[0]="<a href=javascript:OpenConversationWindow('kediceo@hotmail.com');><font color='#FF7300'>▶haksabank@hotmail.com</font></a>"
                                        messages[1]="<a href=javascript:OpenConversationWindow('kediceo@hotmail.com');><font color='#FF7300'>▶kediceo@hotmail.com</font></a>"
                                        messages[2]="<a href=javascript:OpenConversationWindow('kediceo@hotmail.com');><font color='#FF7300'>▶gioung3@hotmail.com</font></a>"
                                        messages[3]="<a href=javascript:OpenConversationWindow('kediceo@hotmail.com');><font color='#FF7300'>▶hakjum@hotmail.com</font></a>"

                                        
                                        ///////Do not edit pass this line///////////////////////
                                        
                                        if (messages.length>1)
                                        i=1
                                        else
                                        i=0
                                        
                                        function move1(whichlayer){
                                        tlayer=eval(whichlayer)
                                        if (tlayer.top>0&&tlayer.top<=2){
                                        tlayer.top=0
                                        setTimeout("move1(tlayer)",3000)
                                        setTimeout("move2(document.main.document.second)",3000)
                                        return
                                        }
                                        if (tlayer.top>=tlayer.document.height*-1){
                                        tlayer.top-=2
                                        setTimeout("move1(tlayer)",100)
                                        }
                                        else{
                                        tlayer.top=scrollerheight
                                        tlayer.document.write(messages[i])
                                        tlayer.document.close()
                                        if (i==messages.length-1)
                                        i=0
                                        else
                                        i++
                                        }
                                        }
                                        
                                        function move2(whichlayer){
                                        tlayer2=eval(whichlayer)
                                        if (tlayer2.top>0&&tlayer2.top<=5){
                                        tlayer2.top=0
                                        setTimeout("move2(tlayer2)",3000)
                                        setTimeout("move1(document.main.document.first)",3000)
                                        return
                                        }
                                        if (tlayer2.top>=tlayer2.document.height*-1){
                                        tlayer2.top-=2
                                        setTimeout("move2(tlayer2)",100)
                                        }
                                        else{
                                        tlayer2.top=scrollerheight
                                        tlayer2.document.write(messages[i])
                                        tlayer2.document.close()
                                        if (i==messages.length-1)
                                        i=0
                                        else
                                        i++
                                        }
                                        }
                                        
                                        function move3(whichdiv){
                                        tdiv=eval(whichdiv)
                                        if (tdiv.style.pixelTop>0&&tdiv.style.pixelTop<=5){
                                        tdiv.style.pixelTop=0
                                        setTimeout("move3(tdiv)",3000)
                                        setTimeout("move4(second2)",3000)
                                        return
                                        }
                                        if (tdiv.style.pixelTop>=tdiv.offsetHeight*-1){
                                        tdiv.style.pixelTop-=2
                                        setTimeout("move3(tdiv)",100)
                                        }
                                        else{
                                        tdiv.style.pixelTop=scrollerheight
                                        tdiv.innerHTML=messages[i]
                                        if (i==messages.length-1)
                                        i=0
                                        else
                                        i++
                                        }
                                        }
                                        
                                        function move4(whichdiv){
                                        tdiv2=eval(whichdiv)
                                        if (tdiv2.style.pixelTop>0&&tdiv2.style.pixelTop<=5){
                                        tdiv2.style.pixelTop=0
                                        setTimeout("move4(tdiv2)",3000)
                                        setTimeout("move3(first2)",3000)
                                        return
                                        }
                                        if (tdiv2.style.pixelTop>=tdiv2.offsetHeight*-1){
                                        tdiv2.style.pixelTop-=2
                                        setTimeout("move4(second2)",100)
                                        }
                                        else{
                                        tdiv2.style.pixelTop=scrollerheight
                                        tdiv2.innerHTML=messages[i]
                                        if (i==messages.length-1)
                                        i=0
                                        else
                                        i++
                                        }
                                        }
                                        
                                        function startscroll(){
                                        if (document.all){
                                        move3(first2)
                                        second2.style.top=scrollerheight
                                        second2.style.visibility='visible'
                                        }
                                        else if (document.layers){
                                        document.main.visibility='show'
                                        move1(document.main.document.first)
                                        document.main.document.second.top=scrollerheight+5
                                        document.main.document.second.visibility='show'
                                        }
                                        }
                                        
                                        window.onload=startscroll
                                        
                                        </SCRIPT> <SCRIPT language=JavaScript1.2>
                                        if (document.all){
                                        document.writeln('<span id="main2" style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hiden;background-color:'+scrollerbgcolor+' ;background-image:url('+scrollerbackground+')">')
                                        document.writeln('<div style="position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';clip:rect(0 '+scrollerwidth+' '+scrollerheight+' 0);left:0;top:0">')
                                        document.writeln('<div id="first2" style="position:absolute;width:'+scrollerwidth+';left:0;top:1;">')
                                        document.write(messages[0])
                                        document.writeln('</div>')
                                        document.writeln('<div id="second2" style="position:absolute;width:'+scrollerwidth+';left:0;top:0;visibility:hidden">')
                                        document.write(messages[1])
                                        document.writeln('</div>')
                                        document.writeln('</div>')
                                        document.writeln('</span>')
                                        }
                                        </SCRIPT> </TD>
                  </TR>
                </TBODY>
              </TABLE>
            </DIV>
<!--엠에스엔 메신저 상담 끝-->


예제 : http://www.itbank.ne.kr





* DeX™님에 의해서 게시물 이동되었습니다 (2006-05-04 09:13)
profile
정보보안전문가 양성학원, 오라클, 자바, 네트워크, 시스템보호, 컴퓨터 IT자격증 안내.