O'Reilly logo

WordPress Responsive Theme Design by Dejan Markovic

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to make our menu accessible

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required