DOM Event Model을 이용하여 팝업창을 항상 활성화 상태로
컨텐츠 정보
- 19,577 조회
- 3 추천
- 목록
본문
소스
var openPop
function e
openPop openPopclosedfalse
openPop
documentaddEventListener
openPopieznInit true
documentdetachEvent
documentieznInit
function popup_link popup_name w h scroll
var winl screenwidth w
var wint screenheight h
wp hwwintwinlscroll
openPop windowpopup_link popup_name wp
documentaddEventListener
documentieznInittrue
documentattachEvent
documentieznInit
openPopieznInit
function
openPop openPopclosedfalse
openPopieznInit
openPopself
documentaddEventListener
documentieznInit true
documentdetachEvent
documentieznInit
windowonunload popUpClose
관련자료
-
링크
댓글 0
등록된 댓글이 없습니다.