Ok.
- Pics of the database (there are referenced fields in here):
- Dataset options:
- Full code on the page :
export function table1_dataChange(event) {
let count = $w("#dataset1").getTotalCount();
console.log(count)
$w("#counter").text = String(count);
}
$w.onReady (function() {
$w("#dataset1").onReady(() => {
let count = $w("#dataset1").getTotalCount();
console.log(count)
$w("#counter").text = count.toString()
if ($w("#counter").text === "29") {
$w("#text29").show();
}
else {
$w("#text26").show();
}
})
});
export function hoverZone_mouseIn(event) {
// This function was added from the Properties & Events panel. To learn more, visit http://wix.to/UcBnC-4
// Add your code for this event here:
$w('#hoverEfarmostiki').show();
$w('#checkbox2').hide();
$w('#vectorImage3').hide();
$w('#hoverBox').show();
}
export function hoverZone_mouseOut(event) {
// This function was added from the Properties & Events panel. To learn more, visit http://wix.to/UcBnC-4
// Add your code for this event here:
$w('#hoverEfarmostiki').hide("fade");
$w('#checkbox2').show("fade");
$w('#vectorImage3').show("fade");
$w('#hoverBox').hide("fade");
}
export function hoverzoneEfarm1_mouseIn_1(event) {
// This function was added from the Properties & Events panel. To learn more, visit http://wix.to/UcBnC-4
// Add your code for this event here:
$w('#hoverYpoyrgeio').show();
$w('#hoverboxYpoyrgeio').show();
$w('#hoverzoneEfarm').hide();
}
export function hoverzoneEfarm1_mouseOut(event) {
// This function was added from the Properties & Events panel. To learn more, visit http://wix.to/UcBnC-4
// Add your code for this event here:
$w('#hoverYpoyrgeio').hide("fade");
$w('#hoverboxYpoyrgeio').hide("fade");
$w('#hoverzoneEfarm').show("fade");
}
export function hoverzoneIsxyon_mouseIn_1(event) {
// This function was added from the Properties & Events panel. To learn more, visit http://wix.to/UcBnC-4
// Add your code for this event here:
$w('#hoverboxIsxyon').show();
$w('#hovermainIsxyon').show();
$w('#vectorImage2').hide();
$w('#checkbox1').hide();
}
export function hoverzoneIsxyon_mouseOut_1(event) {
// This function was added from the Properties & Events panel. To learn more, visit http://wix.to/UcBnC-4
// Add your code for this event here:
$w('#hoverboxIsxyon').hide("fade");
$w('#hovermainIsxyon').hide("fade");
$w('#vectorImage2').show("fade");
$w('#checkbox1').show("fade");
}


