2010-12-13, 07:07 PM
hello
i want to make a dropdown menu which does not disappear while you click on ,something like this :
i want to make a dropdown menu which does not disappear while you click on ,something like this :
<a href="{$mybb->settings['bburl']}" id="test_menu"><strong>Test</strong></a>
<div id="test_menu_popup" class="popup_menu" style="display: none;">
<div class="popup_item_container"><p>Hello</p></div>
</div>
<script type="text/javascript">
if(use_xmlhttprequest == "1")
{
new PopupMenu("test_menu");
}
</script>
now if you click on hello, menu will disappear but it's not a link, so is it possible to make it not to disappear ?