자유롭게 게시물을 올릴수있는 게시판입니다.
  • 유년추억
  • 학교생활
  • 입시준비
  • 대학생활
  • 군생활
  • 알바생활
  • 취업준비
  • 직장생활
  • 원룸생활
  • 연애중
  • 결혼준비
  • 집안살림
  • 자녀교육
  • 창업준비
  • 이민유학
  • 노후생활
  • 전체보기


네온과 같은 효과

 

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<title>네온처럼 확산되는 텍스트소스</title>
<script>
<!-- Beginning of JavaScript -

var i_strength=0
var max_strength=6
var shadowcolor="red"
var timer
var speed=50
var thisobj

function gotoURL(){
      var newWindow=window.open("//www.bcpark.net","status,directories,menubar,scrollbars,titlebar,toolbar,resizable,HEIGHT=600,WIDTH=1000")
      newWindow.focus()
}

function stopfilter(thisdiv){
    if (document.all) {
        clearTimeout(timer)
     thisobj=thisdiv
        thisobj.style.filter=" "
    }
}


function startfilter(thisdiv){
    if (document.all) {
        clearTimeout(timer)
     thisobj=thisdiv
        morefilter()
    }
}

function morefilter(){
    if (i_strength <=max_strength) {
     thisobj.style.filter="glow(color="+shadowcolor+", strength="+i_strength+")"
        i_strength++
        timer = setTimeout("morefilter()",speed)
    }
    else {
        clearTimeout(timer)
        lessfilter()
    }
}

function lessfilter(){
    if (i_strength >=0) {
     thisobj.style.filter="glow(color="+shadowcolor+", strength="+i_strength+")"
        i_strength--
        timer = setTimeout("lessfilter()",speed)
    }    
    else {
        clearTimeout(timer)
        morefilter()
    }
}

// - End of JavaScript - -->
</script>

<STYLE TYPE="text/css">
<!--
.nav {
    position:absolute;
    left:40px;
    font-family:Times;
    font-size=25pt;
    color:#FFFFFF;
    text-decoration:none
    }
-->
</STYLE>
</head>

<body bgcolor="#000000" link="#FFFFFF" alink="#FFFFFF" vlink="#FFFFFF">
<DIV id="news" class="nav" style="top:20px" onMouseOver="startfilter(this)" onMouseOut="stopfilter(this)" onClick="gotoURL()">비씨파크</DIV>

</body>

</html>



minaam
written by minaam (minaam)
2004-05-11 11:32:26
1116 번 읽음
☞ 로그인 후 의견을 남기실 수 있습니다
 캐시선물





365ch.com 128bit Valid HTML 4.01 Transitional and Valid CSS!
태그