MyBB Community Forums

Full Version: Popup window detection
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,
if I use a popup window say
<li><a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 350, 350);">{$lang->welcome_open_buddy_list}</a></li>
how can I detect the window again so if the user re clicks the link it does not open a second time but the user is shown the original popup window ?