HTML Component onClick changes parent's wixLocation

I have a HTML component (from my wixsite) inside a dynamic page. I would like to be able to click an element inside the HTML component and have that change the wixlocation of the parent dynamic page.

Is this possible?
Here’s the code I thought might work…

And to receive the message on the parent page…
$w(“#myHtmlComponent”).onMessage
(wixLocation.to(/Members/${wixUsers.currentUser.id});

Hello Cliff M. Coulter.
Yes it’s possible. You can send message to parent page with data, and based on that data do stuff.