bzcomputers
Well-known member
Was trying to reuse some code which allows navigation menus to expand on hover (no need to click to view sub-menu).
The code in it's current form doesn't work on XenForo 2.1, I think I'm just missing something basic. Figured someone here would see it quicker than me.
The code in it's current form doesn't work on XenForo 2.1, I think I'm just missing something basic. Figured someone here would see it quicker than me.
Code:
<script>
jQuery(".p-navE1").hover(
function () {
jQuery(this).find( '.menu-content' ).show();
},
function () {
jQuery(this).find( '.menu-content' ).hide();
}
);
</script>