Home Forums ZA WordPress Theme Adding attributes/events to menu options. Reply To: Adding attributes/events to menu options.

#10551

BWSM
Keymaster

You could consider to add the js code before </body>.
get the menu id by developer

jQuery(document).ready(function() {
    jQuery('.menu-item-83>a').click(function(){
	window.open($(this).attr("href"), "popupWindow", "width=800,height=600,scrollbars=yes");
        return false;
    });
});

Notice: don’t use sub menu for this menu item.