contact us 플러그인 바로뜨게 하는법 ㅠ
본문
이 사이트에서 보고 contact us 플러그인을 적용했는데요
<a onfocus="this.blur()" onclick="window.open(this.href, '_blank', 'width=770,height=640,toolbars=no,scrollbars=no,top=0,left=0');return false;"
href="<?php echo G5_PLUGIN_URL; ?>/sz_contact_us" target="_blank">CONTACT US</a>
이게 코드입니다.
CONTACT US를 클릭하면 새 창이 뜨면서 열리는데
그게아니라 바로 page에서 나오게 하려면 어떻게 해야할까요 ?ㅠ
답변 1
_blank << 새창으로 띄워라..
window.open << 새창으로 띄워라
<a onfocus="this.blur()" onclick="window.open(this.href, '_blank', 'width=770,height=640,toolbars=no,scrollbars=no,top=0,left=0');return false;"
href="<?php echo G5_PLUGIN_URL; ?>/sz_contact_us" target="_blank">CONTACT US</a>
<a onfocus="this.blur()" href="<?php echo G5_PLUGIN_URL; ?>/sz_contact_us">CONTACT US</a>
답변을 작성하시기 전에 로그인 해주세요.