I need assistance with modifying the functionality of a webpage's dropdown menu. Currently, it displays when the mouse hovers over it, but I want to change it to appear on click using my own JavaScript. Despite setting the onmouseout and onmouseover events to '', the dropdown still appears on hover. The webpage uses icefaces 1.7.2 menubar. How can I determine the cause of this issue?
Can someone help me identify what is triggering the dropdown to show?