사이트 내 전체검색
테두리선을 반짝반짝하게 만들자
https://cmd.kr/javascript/276 URL이 복사되었습니다.

본문

<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

댓글목록

등록된 댓글이 없습니다.

831 (10/17P)

Search

Copyright © Cmd 명령어 3.144.135.69