Please have a look of below code, when you hover on menu which have id #menu5 then popup5 and popup7 id subschild menu move before its respective menu position:

jQuery("#menu5").hover(function(){

                jQuery("#menu5 .parentMenu").before(jQuery("#popup5"));

                jQuery("#menu7 .parentMenu").before(jQuery("#popup7"));

               

});
Please login or Register to submit your answer
Not the answer you are looking for? Browse other questions tagged or ask your own question.