Hi,
I have experience working with corvid but have encountered a seemingly simple but frustrating problem.
I have a card game website that includes 4 cards.
Each card is represented by a separate web page with its own address.
Each card has 4 answers, one of which is correct.
Clicking on an incorrect answer paints the button red and displays text for 2 seconds.
Clicking on the correct answer displays a lightbox and pressing a button on the lightbox moves to the next card.
After going through all four cards you reach the end screen where you can press a re-match button.
In the re-match, starting from the second card, the hidden text (which should only be visible after selecting an incorrect answer) is displayed as soon as the page opens.
The text element is set as hidden and I even added a hide() command on each page load, but somehow it is displayed as soon as the page comes up.
On every page load:
$w.onReady(function () {
$w('#tryAgainText').hide();
});
For each incorrect answer button:
export function button3_click(event) {
$w("#button3").style.backgroundColor = "#FF0000";
$w('#tryAgainText').show();
setTimeout(function (){
$w('#tryAgainText').hide();
}, 2000);
}
For the correct answer button:
export function button4_click(event) {
$w('#tryAgainText').hide();
wixWindow.openLightbox("Elspeth_win");
}
There is no other place in the code where there is a reference to this text element other than what I put here.
Link to the website: https://www.pioneering-women.com/ .
The correct answers: Bottom right, Bottom right, Top right, Bottom left.
On each lightbox, the last button is for the next card and on the final page the left button is for a rematch.
I thought it might be a matter of catching but even on incognito and different browsers it still happens.
On the other hand, in the preview it works properly and does not display the hidden text.
** UPDATE: I tried it on Internet Explorer and it works well. **
** I added a video to illustrate the problem **
Thank you!