iFrame CSS Menu pass Variable to Parent

Like this? Still doesn’t seem to work. I read everything many times and went over my code over and over and I’m at a loss. I have no idea what I am missing.

Page Code Snippet

$w.onReady(function () {

$w("#cssMenu").onMessage( (event)=> {
let sport = event.data;
console.log(sport);
switch (sport) {.....

HTML Element Snippet

<script type="text/javascript">
	function passThru(sp) {
		console.log(sp);
		window.parent.postMessage(sp,"https://www.fullsendhq.com/");
	}
</script>