Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 65051

Still a problem with custom jQuery

$
0
0

Replies: 0

Tom-

Your reply (putting my custom jQuery file in the footer) fixed the event problem on non-touchscreen devices, but the problem still exists on touchscreen devices. For touchscreen devices, my jQuery is supposed to trigger the image switch on menu item click (rather than hover). And it is no longer working. I also tried changing

jQuery(document).ready(function() to jQuery(document).on(‘after_mega_menu_init’, function()

but that didn’t help. Since this is a custom theme I created, is there a way I can loosen the “unbinding of events” that the Max Mega Menu imparts on menu items?

My site is http://jdaviswebdesign.com/education and my jQuery file is jsfunctions.js

Jennifer


Viewing all articles
Browse latest Browse all 65051

Trending Articles