Make submenu item clickable if Parent menu contains the same Keyword Menu Name
jQuery.noConflict();
jQuery(document).ready(function() {
/* About Eei Link disabled */
jQuery("#menu-main-menu a:contains('About EEI')").click(function(e) {
e.preventDefault();
});
// Research Link disabled, this will also disable any child menus that contain
// the same keyword 'Research', to enable those affected submenu items that contain
// the same keyword , see last jQuery
jQuery("#menu-main-menu a:contains('Research')").click(function(e) {
e.preventDefault();
});
// EEI Research Link Enabled, normally this will be disabled by the code above
// we are unbinding that event here
jQuery("#menu-main-menu a:contains('EEI Research')").click(function(e) {
e.preventDefault();
jQuery(this).unbind('click').click()
});
});