336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
onfoucs="this.blur();"의 기능과 마찬가지로 function 으로도 링크된 text 나 image 의 점선을 없앨 수 있다.
<script language="JavaScript">
function autoBlur(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG"){
document.body.focus();
}
}
document.onfocusin=autoBlur;
</script>
'script' 카테고리의 다른 글
[jQuery]웹브라우저 확인 (0) | 2012.12.05 |
---|---|
[Session]설정 및 종료 (0) | 2012.11.26 |
[JavaScript]this.blur(); (0) | 2012.11.22 |
jGrid Demo (0) | 2012.11.01 |
input file 이미지 변경 (0) | 2012.11.01 |