I’ve spent hours trying to get this to work with no success. All I want to do is change the color of the text in a text box when someone hovers over it. Here’s some code I tried:
export function text41_onmouseIn(event, $w) {
let text41 = event.text41; // “text41”
$w(“text41”).html = <p style = "color:red"> ${$w("text41).text}</p>;";
Please help!
I’m also looking for a Wix Code expert. I’d really like to learn more and then speak at the local Atlanta Wix Meetups. Thanks!
If you’re still looking for Wix Code experts… You can check out the WixArena - it’s a hub where you can look for Wix Code (and other) experts for hire.
Unfortunately that didn’t work - or I’m not using the directions properly.
Also, when I use the code above, from Sam, it changes the alignment and size of the text…
export function text41_mouseIn(event, $w) {
$w(“#text41”).html = <p style = "color:#15D3D0"> ${$w("#text41").text}</p>;