JavaScript Popup Question


Essentially I’d like to duplicate the functionality of the cart popup (or drop down) to also have a my account link do the same thing. Where I am stuck is with the JS. I figured out where all of the code is except the JS after searching through lots of files. Can anyone point me in the right direction to find the JS code so I can create a second drop down for a “my account link”? Please see attached screenshot and a mock up of what I’m looking to do below to see better what I am describing. Any help would be greatly appreciated!

Screenshot of cart popup:

Mock up made in PhotoShop of what I’d like to do: