This is my code; by default the slide options is working from left to right, I would like the box to appear sliding from right to the left, is this possible?
let slideOptions = {
"duration": 1500,
"delay": 500,
};
export function buttonShopNowDoria_mouseIn(event) {
$w('#boxYellowDoria').show("slide")
}
export function buttonShopNowDoria_mouseOut(event) {
$w('#boxYellowDoria').hide("slide")
}
And do you maybe know how to change the color of a text when " buttonShopNowDoria_mouseIn ( event )" occur?
So: I go over #buttonShopNowDoria with the cursor and I want “#text18” to change color
@ajithkrr Hey, I tried this code only with ‘onclick’ event - and it doesn’t work.
if I change to ‘mousein’ it workes fine, but I want the user to click the close button to close the lightbox…
here is the code:
pls your kind advice
let slideOptions = {
"duration": 1500,
"delay": 100,
"direction" : "left"
};
export function button1_click(event) {
$w('#lightbox1').hide("slide", slideOptions)
}