In the above code, we are using a “fade” animation and the “fadeOptions” parameters are telling the element how long to stay in animation (duration) and how long to delay the animation start after the page loads.
Please realize that you can’t just “copy and paste” code and expect it to work. You need to understand what’s happening if you expect to be able to write code that does what you want. Wix provides many resources to help users learn and get the most out of Corvid. We encourage users to take advantage of these resources which include video tutorials, full app examples (which can be loaded into the user’s editor), API documentation, and a wealth of articles describing a wide range of topics - from beginner to advance.
You may want to check out the WixArena - it’s a hub where you can look for Corvid (and other) experts for hire.
I agree with Husni, for some reason when you establish fadeOptions it does not affect the animation duration, it cuts it out. If you have an example working code would be great
@shantanukumar847 Wix code SDK Warning: The “show” function called on “A” was executed without the specified effect options because it was called with the following deprecated effect: “SlideIn”. Read more about effects: “HiddenMixin - Velo API Reference - Wix.com”
@yisrael-wix this code is creating a unwanted gap between wixlocation and hide(fadeout)
i want my columstrip to fade out (dissolve) and there should be content of home page on its bg
check this website on phone only https://bit.ly/2Xvc1W2
i want same feature same animation like above link->>>>> only i want to add customized image (Larger size) n text on that screen and which will load only once per session or wont load again if we come back to that page
import wixAnimations from ‘wix-animations’ ;
import wixLocation from ‘wix-location’ ;
import wixWindow from ‘wix-window’ ;
@gokul1311 Your syntax is probably giving you errors. Also, if you’re trying yo accomplish a fade effect, you should be using the “fade” api, not ‘SlideIn’.
The line should be written as:
$w('#box1').show("fade", fadeOptions);
Be careful placing your quotations. Also, I would recommend using a duration of 300 or more for the fade effect for it to be more smooth. Hope this helps.
Normaly this post is an old one and should already have been closed a long time ago.
But since you provided your last post, i want to do some corrections on your descriptions.
“fade” → is not an API it’s just the —> ANIMATION-TYPE