2013년 1월 14일 월요일

html5]확실히 되는 모바일 브라우져에서 창 닫기


<ol class="linenums"><li class="L0"><span class="pln">&nbsp;</span></li><li class="L1"><span class="pln">&nbsp;</span></li><li class="L2"><span class="pln"> </span><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">onclick</span><span class="pun">=</span><span class="atv">"</span><span class="pln">javascript</span><span class="pun">:</span><span class="kwd">var</span><span class="pln"> win </span><span class="pun">=</span><span class="pln"> window</span><span class="pun">.</span><span class="pln">open</span><span class="pun">(</span><span class="str">''</span><span class="pun">,</span><span class="str">'_self'</span><span class="pun">);</span><span class="pln">win</span><span class="pun">.</span><span class="pln">close</span><span class="pun">();</span><span class="kwd">return</span><span class="pln"> </span><span class="kwd">false</span><span class="pun">;</span><span class="atv">"</span><span class="tag">&gt;</span><span class="pln">close</span><span class="tag">&lt;/div&gt;</span></li><li class="L3"><span class="pln">&nbsp;</span></li></ol>

댓글 2개: