본문 바로가기
etc.,

블로그 꾸미기

by dalkiis 2011. 10. 27.

● 블로그 꾸미기

http://ccoma.tistory.com/


● 블로그 폰트변경

http://min-blog.tistory.com/473
http://review-in.tistory.com/4
http://20121231.tistory.com/14


● 블로그 마우스 우클릭 및 드래그 방지 스크립트

<head>에 삽입

<script type="text/javascript">
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
</script>


<body>에 삽입

<body oncontextmenu="return false" onselectstart="return false" ondragstart="return false">