As we can't access some submenu items because the menu closes too fast, we want to make the menu accessible for the people who use only keyboard, or some other device, so that they can access the menu normally. For this purpose, we will use the Superfish jQuery plugin, which is available at: http://users.tpg.com.au/j_birch/plugins/superfish/download/.
Please download the archive and unpack it. There is a bunch of files and folders there, and we only need
superfish.min.js, which is available at
dist/js folder. In order to use this, we should copy and paste that file in our theme's
js folder. Now, we should load that file the same way that we load other
.js files, and we are doing that with
wp_enqueue_script in the ...