테두리선을 반짝반짝하게 만들자
본문
<body></body>사이에다 넣으세요.
<script>
function c(){
if (!document.all)
return
if (pe.style.borderColor=="green")
pe.style.borderColor="red"
else
pe.style.borderColor="green"
}
function d(){
if (!document.all)
return
if (window.status=="빨강")
window.status="녹색"
else
window.status="빨강"
}
setInterval("d()", 500)
setInterval("c()", 500)
</script>
<body 안에 → id="pe" style="border:4px solid green">
출처 : http://www.aircon1004.com/data/bbs/board.php?bo_table=pds1&wr_id=88
<script>
function c(){
if (!document.all)
return
if (pe.style.borderColor=="green")
pe.style.borderColor="red"
else
pe.style.borderColor="green"
}
function d(){
if (!document.all)
return
if (window.status=="빨강")
window.status="녹색"
else
window.status="빨강"
}
setInterval("d()", 500)
setInterval("c()", 500)
</script>
<body 안에 → id="pe" style="border:4px solid green">
출처 : http://www.aircon1004.com/data/bbs/board.php?bo_table=pds1&wr_id=88
관련링크
댓글목록
등록된 댓글이 없습니다.