I am very close. How can I have MENU 1 on my .
fiddle display as the default menu option then change when MENU 2 on hover?
Thank you in advance. Keep coding! :)
I am very close. How can I have MENU 1 on my .
fiddle display as the default menu option then change when MENU 2 on hover?
Thank you in advance. Keep coding! :)
To edit this entirely away from jquery based on your response do the following:
Change
#submenu1
fromdisplay:none;
todisplay: block;
This will Show your first menu by default.
Add the following css section
The
~
character selects #submenu1 when you hover over a2 element. Then it changes it to display:none;. Since you have code already to set submenu2 to display when you hover over a2, all this does is hide the submenu1 element.