[Script] 링크 자동으로 onfocus="blur()" 붙이기 (by 후니) 2
2004.05.05 14:45
123
https://eond.com/20470
http://miniwini.com/miniwinis/bbs/index.php?bid=share&m=search&mode=read&id=2113&p=1&keyword=onfocus&scale=1&op=and&idx=1/***********************************
* 자동으로 onfocus="blur()" 붙이기
**********************************/
<!--
    function allblur() {
         for (i = 0; i < document.links.length; i++)
              document.links[i].onfocus = document.links[i].blur;
    }
//-->

<body onLoad="allblur()">

단 이 소스는 body onload=allblur()를 적어줘야한다는 귀찮음이 있다.
바디에 불러올 인자가 많을 경우엔 단점이 될 수도 있다.

라이믹스는 이온디와 함께

  • 2007.04.10 11:36
    베스트
    다른건다 불여우에서 안되던데
    이거는 불여우에서 되네요.
  • 이온디
    2007.04.16 10:12
    베스트
    불여우에서는 적용되지만 IE에서는 안된다는 사실-_-?;;;
닫기

마이페이지

로그인을 해주세요