Hi.
I don’t know much about java or something but I am making site by myself.
I found this video Wix Code | How to Add Custom Interactions with JavaScript - YouTube that I followed.
But this doesn’t work at all.
I wonder if it’s because I wrote too much.
Help me …X(
export function screen1_mouseIn(event) {
//Add your code for this event here:
$w(“#lo1”).show();
$w(“#le1”).show();
$w(“#screen1”).show();
}
export function screen1_mouseOut(event) {
//Add your code for this event here:
$w(“#lo1”).hide()
$w(“#le1”).hide()
$w(“#screen1”).hide()
}
export function screen2_mouseOut(event) {
//Add your code for this event here:
$w(“#ma1”).show()
$w(“#screen2”).show()
$w(“#button3”).show()
}
export function screen2_mouseIn(event) {
//Add your code for this event here:
$w(“#ma1”).hide()
$w(“#screen2”).hide()
$w(“#button3”).hide()
}
export function screen3_mouseIn(event) {
//Add your code for this event here:
$w(“#screen3”).show();
}
export function screen3_mouseOut(event) {
//Add your code for this event here:
$w(“#screen3”).hide()
}
export function screen4_mouseIn(event) {
//Add your code for this event here:
$w(“#le2”).show()
$w(“#lo2”).show()
$w(“#screen4”).show()
}
export function screen4_mouseOut(event) {
//Add your code for this event here:
$w(“#le2”).hide()
$w(“#lo2”).hide()
$w(“#screen4”).hide()
}
export function screen5_mouseIn(event) {
//Add your code for this event here:
$w(“#ma2”).show()
$w(“#button6”).show()
$w(“#button7”).show()
$w(“#button15”).show()
$w(“#screen5”).show()
}
export function screen5_mouseOut(event) {
//Add your code for this event here:
$w(“#ma2”).hide()
$w(“#button6”).hide()
$w(“#button7”).hide()
$w(“#button15”).hide()
$w(“#screen5”).hide()
}
export function screen6_mouseIn(event) {
//Add your code for this event here:
$w(“#button4”).show()
$w(“#button13”).show()
$w(“#button12”).show()
$w(“#screen6”).show()
}
export function screen6_mouseOut(event) {
//Add your code for this event here:
$w(“#button4”).hide()
$w(“#button13”).hide()
$w(“#button12”).hide()
$w(“#screen6”).hide()
}
export function screen7_mouseIn(event) {
//Add your code for this event here:
$w(“#button9”).show()
$w(“#button14”).show()
$w(“#vectorImage2”).show()
$w(“#vectorImage4”).show()
$w(“#screen6”).show()
}
export function screen7_mouseOut(event) {
//Add your code for this event here:
$w(“#button9”).hide()
$w(“#button14”).hide()
$w(“#vectorImage2”).hide()
$w(“#vectorImage4”).hide()
$w(“#screen6”).hide()
}
export function screen8_mouseIn(event) {
//Add your code for this event here:
$w(“#button8”).show()
$w(“#vectorImage1”).show()
$w(“#screen8”).show()
}
export function screen8_mouseOut(event) {
//Add your code for this event here:
$w(“#button8”).hide()
$w(“#vectorImage1”).hide()
$w(“#screen5”).hide()
}
export function screen9_mouseIn(event) {
//Add your code for this event here:
$w(“#button11”).show()
$w(“#button10”).show()
$w(“#screen9”).show()
}
export function screen9_mouseOut(event) {
//Add your code for this event here:
$w(“#button11”).hide()
$w(“#button10”).hide()
$w(“#screen9”).hide()
}