Hello Experts, Im having a problem with the lightbox no loading fast enough and it takes time to respond to the visitor's click... so is there away that I can make it more smoother and faster?
https://samidesigns.wixsite.com/samidesign
And also this is what im using for my header to show when the visitor scrolls down so my question is: I used "SlideIn" Effect for the .show and .hide but I want it to enter and leave from the top not from the left side...
export function anchor1_onviewportLeave() {
$w("#columnStrip27").show("SlideIn");
$w("#image51").show();
$w("#text69").show();
$w("#instantsearchBasics1").show();
}
Many Thanks
Sami
HI
I have an issue with my Container Box becaue it says that "$w('#image50').hide()" is an error :
'#image51' is not a valid selector
Can you help me with that please
Thanks in advance
Hi Sami,
Try using the new Wix animation functions, like so
$w("#columnStrip27").show("slide",{direction:'top'});
Hello Moshe, If you look closely to my lightbox main menu there is no added animation and it is pretty slow while i checked WIX pre-made theme called " 3D Designer Portfolio " It is really smooth and I went into editor mode to check how it was made and it is really the same.
Secondly, I kindly ask to advise me on how to control the animation of my top header on my website.... I used this code to animate the header bar when entering a specific anchor point:
export function anchor1_onviewportLeave() { $w("#columnStrip27").show("SlideIn"); $w("#image51").show(); $w("#text69").show(); $w("#instantsearchBasics1").show(); }
But the problem is that it is sliding from the left side while I want it to slide from the top..... Just need some code advice from you please...
Thanks in advance..
Sami
Animations can be customized,
to make it appear / disappear from the top:
In the lightbox animation menu, select glide-in or fly-in
on the bottom of the "choose animation" popup, click the "customize" button
set direction to "from top"
now you can write
$w("#columnStrip27").show()
with no animation passed to it