2014-09-10, 04:01 AM
2014-09-10, 04:18 AM
For MyBB 1.6: http://community.mybb.com/thread-82696.html
For MyBB 1.8:
I haven't tested this code specifically, but it's essentially the same code that is used for the quick reply dropdown. It should work just fine.
For MyBB 1.8:
Quote:<a href="http://example.com" id="example_menu">
Example Dropdown Menu
</a>
<div id="example_menu_popup" class="popup_menu" style="display: none;">
<div class="popup_item_container"><a href="http://example.com" class="popup_item" id="example_menu_dropdown">Example link 1</a></div>
<div class="popup_item_container"><a href="http://example.com">example link 2</a></div>
</div>
<script type="text/javascript">
// <!--
if(use_xmlhttprequest == "1")
{
$("#example_menu_dropdown").popupMenu();
}
// -->
</script>
I haven't tested this code specifically, but it's essentially the same code that is used for the quick reply dropdown. It should work just fine.