Hi community,
is it possible that the same code works on my home page and doesn't work on subpage? Do I need to something turn on?
export function button1_click(event) {
$w('#box1').show("fade")
}
export function vectorImage1_click(event) {
$w('#box1').hide("fade")
}
I work with Corvid for the first time, so maybe I overlook something but I really don't know anymore.
Thank you in advance for any help
I'd not be surprised if the elements on your second page have different names and you probably need to assign the event handlers using the Properties panel again.
https://support.wix.com/en/article/corvid-working-in-the-code-panel#wix-code-syntax-and-autocomplete
https://support.wix.com/en/article/corvid-reacting-to-user-actions-using-events
Keep in mind that there is site code and page code
Your question is a bit too broad. Or: what exactly are you meaning. The short answer to your question is "yes", but I´m afraid that won´t help much. So give us just a tiny bit more info on what you are trying to achieve and how.