Navigate to a frame on interactive component

Hello, i hope someone can help me with this ;
i have a sub menu where i put an interactive component ( that have two variants on hover and default ) , now i want when hovering on a sub menu element to change to the second variant and on click to navigate to another frame on the page , i have tried alot and didn’t work pls help me !