웹마스터 팁

<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<link rel="stylesheet" href="" type="text/css">
<script language="JavaScript1.2">
//For full source code, installation instructions, Terms Of Use, visit http://www.dynamicdrive.com
//configure the below five variables to change the style of the scroller
var scrollerwidth=187
var scrollerheight=70
var scrollerbgcolor='white'
//set below to '' if you don't wish to use a background image
var scrollerbackground=''
var interval = 1 // 스크롤되는 속도 숫자가 높을 수로 빠라집니다
var pause = 10000 // 베너가 멈춰 있는 시간입니다. 숫자가 낮을 수록 멈추는 시간이 짧아집니다.
var topspace = 1 // 그냥 두세요.
var messages = new Array();

// 아래에 배너를 추가시키면 됩니다. [0] [1] [2] .... [n]
messages[0] = "<table border=0><tr><td><a href="http://www.nzeo.com/" target=_blank><img src="http://www.nzeo.com/images/main/top_logo.gif" border="0"></a></td></tr></table>";
messages[1] = "<table border=0><tr><td><a href="http://www.nzeo.com/" target=_blank><img src="http://www.nzeo.com/images/main/top_logo.gif" border="0"></a></td></tr></table>";
messages[2] = "<table border=0><tr><td><a href="http://www.nzeo.com/" target=_blank><img src="http://www.nzeo.com/images/main/top_logo.gif" border="0"></a></td></tr></table>";



// 밑으로는 수정하지 마세요.

var ie=document.all&&navigator.userAgent.indexOf("Opera")==-1
var dom=document.getElementById&&navigator.userAgent.indexOf("Opera")==-1

i =  (messages.length>2) ? 2 : 0;

function move1(whichlayer){
        tlayer=eval(whichlayer)
        if (tlayer.top>0&&tlayer.top<=topspace){
                tlayer.top=0
                setTimeout("move1(tlayer)",pause)
                setTimeout("move2(document.main.document.second)",pause)
                return
        }
        if (tlayer.top>=tlayer.document.height*-1){
                tlayer.top-=topspace
                setTimeout("move1(tlayer)",interval)
        }
        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<=topspace){
                tlayer2.top=0
                setTimeout("move2(tlayer2)",pause)
                setTimeout("move1(document.main.document.first)",pause)
                return
        }
        if (tlayer2.top>=tlayer2.document.height*-1){
                tlayer2.top-=topspace
                setTimeout("move2(tlayer2)",interval)
        }
        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 (parseInt(tdiv.style.top)>0&&parseInt(tdiv.style.top)<=topspace){
                tdiv.style.top=0
                setTimeout("move3(tdiv)",pause)
                setTimeout("move4(second2_obj)",pause)
                return
        }
        if (parseInt(tdiv.style.top)>=tdiv.offsetHeight*-1){
                tdiv.style.top=parseInt(tdiv.style.top)-topspace
                setTimeout("move3(tdiv)",interval)
        }
        else{
                tdiv.style.top=scrollerheight
                tdiv.innerHTML=messages[i]
                if (i==messages.length-1) i=0
                else i++
        }
}

function move4(whichdiv){
        tdiv2=eval(whichdiv)
        if (parseInt(tdiv2.style.top)>0&&parseInt(tdiv2.style.top)<=topspace){
                tdiv2.style.top=0
                setTimeout("move4(tdiv2)",pause)
                setTimeout("move3(first2_obj)",pause)
                return
        }
        if (parseInt(tdiv2.style.top)>=tdiv2.offsetHeight*-1){
                tdiv2.style.top=parseInt(tdiv2.style.top)-topspace
                setTimeout("move4(second2_obj)",interval)
        }
        else{
                tdiv2.style.top=scrollerheight
                tdiv2.innerHTML=messages[i]
                if (i==messages.length-1) i=0
                else i++
        }
}

function startscroll(){
        if (ie||dom){
                first2_obj=ie? first2 : document.getElementById("first2")
                second2_obj=ie? second2 : document.getElementById("second2")
                move3(first2_obj)
                second2_obj.style.top=scrollerheight
                second2_obj.style.visibility='visible'
        }
        else if (document.layers){
                document.main.visibility='show'
                move1(document.main.document.first)
                document.main.document.second.top=scrollerheight+topspace
                document.main.document.second.visibility='show'
        }
}

window.onload=startscroll

</script>
</head><body><ilayer id="main" width=&{scrollerwidth}; height=&{scrollerheight}; bgColor=&{scrollerbgcolor}; background=&{scrollerbackground}; visibility=hide>
<layer id="first" left="0" top="1" width="1" height="200" z-index="1">
    <p><script language="JavaScript1.2">
if (document.layers) document.write(messages[0])
</script>
</layer>
<layer id="second" left="0" top="0" width="1" height="200" z-index="1">
    <p><script language="JavaScript1.2">
if (document.layers) document.write(messages[dyndetermine=(messages.length==1)? 0 : 1])
</script>
</layer>
<p></ilayer>

<script language="JavaScript1.2">
if (ie||dom){
        document.writeln('<div 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[dyndetermine=(messages.length==1)? 0 : 1])
        document.writeln('</div>')
        document.writeln('</div>')
        document.writeln('</div>')
}
</script>
</body>
</html>
제목 글쓴이 날짜
추천검색어,실시간인기순위 소스 file codlllle 2015.06.21
추천 웹 디자인, 모바일 디자인, CSS3, UI/UX 애니메이션을 확인할 수 있는 블로그 file 나도모름 2015.01.14
스케치북 추천+등록을 활용한 비추천+등록 버튼 만들기 [2] file oscarmike 2014.05.16
*LI-NA님의 큰 선물* SKETCHBOOK5 (최신버전)에서 특정 확장변수를 추천하는 사람에게만 공개하도록 하는 방법 [4] file 큰성565 2014.04.30
추천수로 제목에 효과주기 [15] こさき! 2014.04.29
관리자가 무제한 추천 가능하게 하는 방법 [2] sejin7940 2014.01.17
[10원팁] 스케치북 추천/비추천/신고를 눈에 들어오게 socialskyo 2014.01.17
추천/비추천/신고시 확인(메시지 창 띄우기)하기 [21] explode 2013.11.27
추천인 표시 [11] socialskyo 2013.10.17
게시글 추천 아이피 가져오기 file Stellar 2013.09.12
추천 취소 기능 만들기 [5] file Summer 2013.09.11
[주옥시리즈]댓글 작성, 추천후 다운로드 받을수 있게 하기. socialskyo 2013.09.09
[주옥시리즈]댓글 작성, 추천후 다운로드 받을수 있게 하기. socialskyo 2013.09.09
댓글 작성, 추천후 다운로드 받을수 있게 하기. [6] socialskyo 2013.09.06
새로고침없이 페이지 리로딩 간단하고 쉽게 서버한테는 미안하게 하는법 (서버단이 아니고 스킨에 ㅠ jquery load씀) 게시글,댓글,추천등 모든 부분다가능합니다. [2] 장포크 2013.08.08
XE 내가 작성한 글 모두 일괄 추천하기. [4] 엘카 2013.08.01
게시판 및 댓글 추천/비추천 카운트가 바로 적용되지 않는 경우 KS 2013.07.28
게시글에 댓글 부분 추천, 비추천 바로 노출하기 [5] file 똑디 2013.07.19
xe_default 게시판 추천/비추천 색상 변경하기 file 화랑529 2013.01.08
bodex 추천 & 댓글 버튼 만들기. [1] file meanie 2012.10.28