top of page

Forum Posts

Joel shen
Feb 08, 2021
In Coding with Velo
Hi everyone, I have an image holder that will be set to different images based on the current page. if (currentPageName === "Page A") {         $w(loadingScreenName).src = "url to image 1";     } else if (currentPageName === "Page B") {         $w(loadingScreenName).src = "url to image 2";     } The problem I'm having now is that let's say I'm at Page A, then image 1 is showing. When I navigate to Page B, image 1 will show for a while, before it is changed to image 2. The reverse is true as well: When I navigate to Page A from Page B, image 2 will show for a while before it is swapped to image 1. Is there a way I can change the image from image 1 to image 2 without having the previous image shown?
0
23
43
Joel shen
Feb 08, 2021
In Coding with Velo
Hi everyone, I am having a GIF and I want it to play once whenever I show it. For example, $w('#gif').src = "some gif"; $w('#gif').show(); setTimeout(() => {     $w('#gif').hide('FadeOut'); }, 2000); Some time later after the GIF is done playing and hidden, I would like to show the GIF again. So basically re-running the above code snippet. HOWEVER, this time (second time code snippet is ran) the GIF is no longer playing. It is stuck at the last frame from previously. How do I solve this? I would NOT like a looped GIF because I only want it to be played once, but the issue now is that it is no longer playing after being shown a second time. Thanks!
0
3
65
Joel shen
Jan 29, 2021
In Coding with Velo
Hi, As you all know, the Wix's store checkout page is not customisable, and we are waiting on features such as this: https://support.wix.com/en/article/wix-stores-request-adding-a-form-to-the-cart-or-checkout-page However, I really need different fields when user purchase an item. Is there a workaround to this? Perhaps I can show the form when the checkout button is pressed? Thanks.
0
1
185
Joel shen
Sep 17, 2019
In Coding with Velo
Hi, sometimes a function in the backend script is not called from the frontend. Sometimes it works, sometimes it doesn't. I can't seem to figure out the cause of this issue, since "console.log" is written as the first line of the function. Since it is not printed sometimes, I believe it has not been called? Also, since it is the first function being called from the frontend, I don't think there is anything that has prevented it from being called? Thanks.
0
4
73
Joel shen
Sep 06, 2019
In Coding with Velo
Hi, I'm wondering if Wix provides a place for us to clone a repository and run git commands like "git blame" in the server side? Or do I have to use another server? Thanks!
0
3
284

Joel shen

More actions
bottom of page