<html>
<head>
<title></title>
</head>
<script>
function c(){
if (!document.all)
return
if (pe.style.borderColor=="orange")//기본색을 적어줍니다.
pe.style.borderColor="darkblue" //바뀔색을적어줍니다.
else
pe.style.borderColor="orange" //기본색과 같이적어줍니다.
}
function d(){
if (!document.all)
return
if (window.status=="퍼런색") //아래상황바에 나타날글을 씁니다.
window.status="오렌지"//위에거랑 다른글을 씁니다.
else
window.status="퍼런색" //처음이랑 같은글을 써줍니다.
}
setInterval("d()", 500) //바뀌는시간입니다.1초 = 1000 값을 바꿔보세요.
setInterval("c()", 500) //  시간........
</script>
<body id="pe" style="border:4px solid orange"> //스타일부분에 기본색과같은색을 써줍니다.
</body>
</html>
Posted by 알 수 없는 사용자
,