Functions
์ฌ๋ฌ ๊ธฐ๋ฅ
๋ค์ ์๊ฐํด๋๋ฆฝ๋๋ค.
isOn(ID or Name)
POP๋
ธ๋๊ฐ ์ด๋ ค์๋์ง ํ์ธํฉ๋๋ค.
<script>
popman.setup({modeTest:true}).detect();
function checkOnOff(){
document.getElementById('tester').innerHTML = popman.isOn('poptest');
}
</script>
<body>
<div id="tester">TEST</div>
<button onclick="popman.pop('poptest')">POP</button>
<div id="poptest" data-pop data-afterpop="checkOnOff()" data-afterclose="checkOnOff()">Popman Test</div>
</body>
sleep()
popman์ด ๋์ํ์ง ์๊ฒ ํฉ๋๋ค.
active()
popman์ด ๋์ํ๊ฒ ํฉ๋๋ค.