I am in the process of developing a website and have incorporated CSS animations for dropdowns. However, I am looking to change it so that the dropdowns appear on click rather than hover in the submenu. I am struggling to make this adjustment with the current code. Please excuse the presence of PHP code as I directly copied it from the source. You can view the code I am working with here.
$( "#horiz-menu ul li > ul" ).click(function()
Although my knowledge of jQuery is limited, this is what I have managed to come up with so far.