// 이벤트 버블링(전파) 취소(막기) function stopPropagation(e) { //IE or 표준 브라우저 if (e.cancelBubble) e.cancelBubble = true; else if (e.stopPropagation) e.stopPropagation(); }